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:
- 2012-01-13
- Revision:
- 1:83960ee4d9a2
- Parent:
- 0:6089ae824f06
File content as of revision 1:83960ee4d9a2:
/*
* Copyright (c) 2011 Toshihisa T
* Released under the MIT License: http://mbed.org/license/mit
*/
#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 */