|
|
|
Location:
e32std.h
Link against: euser.lib
TVersion
Supported from 5.0
Contains version information.
A version is defined by a set of three numbers:
the major version number, ranging from 0 to 127, inclusive
the minor version number, ranging from 0 to 99 inclusive
the build number, ranging from 0 to 32767 inclusive.
The class provides a constructor for setting all three numbers. It
also provides a member function to build a character representation of this
information in a TVersionName descriptor.
Defined in TVersion:
Name(), TVersion(), TVersion(), iBuild, iMajor, iMinor
TVersion(TInt aMajor,TInt aMinor,TInt aBuild);
Constructs the object with the specified major version number, the minor version number and the build number.
|
TInt types, care must be taken to ensure that values passed do not exceed the specified maximum, otherwise they will be interpreted as negative values.TVersionName Name();
Gets a descriptor buffer containing the formatted character representation of the version information.
The general format of the representation is: xxx.yy(zzzzz)
where:
xxx is the major version number; depending on the value, this may have a length of one, two or three characters
yy is the minor version number; this is always two characters, padded with a leading zero, if necessary
zzzzz is the build number; depending on the value, this may have a length of one to 5 characters.
|
TInt8 iMinor
The build number.