Location:
e32std.h
Link against: euser.lib
TVersion
Supported from 5.0
Encapsulates 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()
, iBuild
, iMajor
, iMinor
TVersion();
Constructs an uninitialised
TVersion
— default constructor. It is necessary
because there are also non-default constructors in this class.
TVersion(TInt aMajor,TInt aMinor,TInt aBuild);
Constructs a TVersion
with the major version
number, the minor version number and the build number.
|
TVersionName Name();
Gets a descriptor buffer containing the formatted character representation of the version information.
The format of the representation is: xxx.yy(zzzzz)
where:
xxx is the full three digits of the major version number
yy is the minor version number
zzzzz is the build number.
|
TInt8 iMinor
The build number