Dependencies: ChaNFSSD mbed BMP085 SHT2x
libT/portable/tversion.h@9:9ca3db7ed7cb, 2012-02-27 (annotated)
- Committer:
- tosihisa
- Date:
- Mon Feb 27 16:20:15 2012 +0000
- Revision:
- 9:9ca3db7ed7cb
- Parent:
- 1:83960ee4d9a2
V0.89.2. GPS recv data is OK.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tosihisa | 1:83960ee4d9a2 | 1 | /* |
tosihisa | 1:83960ee4d9a2 | 2 | * Copyright (c) 2011 Toshihisa T |
tosihisa | 1:83960ee4d9a2 | 3 | * Released under the MIT License: http://mbed.org/license/mit |
tosihisa | 1:83960ee4d9a2 | 4 | */ |
tosihisa | 0:6089ae824f06 | 5 | |
tosihisa | 0:6089ae824f06 | 6 | #ifndef __TVERSION_H |
tosihisa | 0:6089ae824f06 | 7 | #define __TVERSION_H |
tosihisa | 0:6089ae824f06 | 8 | |
tosihisa | 0:6089ae824f06 | 9 | namespace libT { |
tosihisa | 0:6089ae824f06 | 10 | |
tosihisa | 0:6089ae824f06 | 11 | class tVersion { |
tosihisa | 0:6089ae824f06 | 12 | public: |
tosihisa | 0:6089ae824f06 | 13 | tVersion(unsigned long _major,unsigned long _minor) : major(_major),minor(minor) {} |
tosihisa | 0:6089ae824f06 | 14 | |
tosihisa | 0:6089ae824f06 | 15 | unsigned long getMajorVersion(void) const { return major; } |
tosihisa | 0:6089ae824f06 | 16 | unsigned long getMinorVersion(void) const { return minor; } |
tosihisa | 0:6089ae824f06 | 17 | |
tosihisa | 0:6089ae824f06 | 18 | private: |
tosihisa | 0:6089ae824f06 | 19 | unsigned long major; |
tosihisa | 0:6089ae824f06 | 20 | unsigned long minor; |
tosihisa | 0:6089ae824f06 | 21 | }; |
tosihisa | 0:6089ae824f06 | 22 | |
tosihisa | 0:6089ae824f06 | 23 | }; |
tosihisa | 0:6089ae824f06 | 24 | |
tosihisa | 0:6089ae824f06 | 25 | #endif /* __TVERSION_H */ |