Skytraq S1315F-RAW-EVK Logger

Dependencies:   TextLCD mbed

Committer:
tosihisa
Date:
Sat Dec 18 11:17:21 2010 +0000
Revision:
0:e0ec137da369
1st release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tosihisa 0:e0ec137da369 1
tosihisa 0:e0ec137da369 2 #ifndef __TVERSION_H
tosihisa 0:e0ec137da369 3 #define __TVERSION_H
tosihisa 0:e0ec137da369 4
tosihisa 0:e0ec137da369 5 namespace libT {
tosihisa 0:e0ec137da369 6
tosihisa 0:e0ec137da369 7 class tVersion {
tosihisa 0:e0ec137da369 8 public:
tosihisa 0:e0ec137da369 9 tVersion(unsigned long _major,unsigned long _minor) : major(_major),minor(minor) {}
tosihisa 0:e0ec137da369 10
tosihisa 0:e0ec137da369 11 unsigned long getMajorVersion(void) const { return major; }
tosihisa 0:e0ec137da369 12 unsigned long getMinorVersion(void) const { return minor; }
tosihisa 0:e0ec137da369 13
tosihisa 0:e0ec137da369 14 private:
tosihisa 0:e0ec137da369 15 unsigned long major;
tosihisa 0:e0ec137da369 16 unsigned long minor;
tosihisa 0:e0ec137da369 17 };
tosihisa 0:e0ec137da369 18
tosihisa 0:e0ec137da369 19 };
tosihisa 0:e0ec137da369 20
tosihisa 0:e0ec137da369 21 #endif /* __TVERSION_H */