Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ChaNFSSD mbed BMP085 SHT2x
libT/portable/tversion.h
- Committer:
- tosihisa
- Date:
- 2011-12-26
- Revision:
- 0:6089ae824f06
- Child:
- 1:83960ee4d9a2
File content as of revision 0:6089ae824f06:
#ifndef __TVERSION_H
#define __TVERSION_H
namespace libT {
class tVersion {
public:
tVersion(unsigned long _major,unsigned long _minor) : major(_major),minor(minor) {}
unsigned long getMajorVersion(void) const { return major; }
unsigned long getMinorVersion(void) const { return minor; }
private:
unsigned long major;
unsigned long minor;
};
};
#endif /* __TVERSION_H */