VersionInfo Class Reference

class VersionInfo

Class holds system version information. Version Info API provides an interface for quering system version information.

Usage:

Get platform version information:
        // iFs contains open file server session

 VersionInfo::TPlatformVersion platformVersion;
 // Select the overload of VersionInfo::GetVersion() that suits best for 
 // the current client.
 User::LeaveIfError( VersionInfo::GetVersion( platformVersion, iFs ) );

 // Now platformVersion contains platform version information.
       
platformver.lib
Since
S60 3.2
Public Member Functions
IMPORT_C TInt GetVersion ( TVersionBase &)
IMPORT_C TInt GetVersion ( TVersionBase &, RFs &)
Private Member Functions
VersionInfo ()
Private Member Enumerations
enum TVersionType { EPlatformVersion  = 0 }

Constructor & Destructor Documentation

VersionInfo()

VersionInfo ( ) [private]

C++ default constructor.

Member Functions Documentation

GetVersion(TVersionBase &)

IMPORT_C TInt GetVersion ( TVersionBase & aVersion ) [static]

This method gets the version information.

Since
S60 3.2
TVersionBase

Parameters

TVersionBase & aVersion Stores the version information

GetVersion(TVersionBase &, RFs &)

IMPORT_C TInt GetVersion ( TVersionBase & aVersion,
RFs & aFs
) [static]

This method gets the version information. Given file server session avoids the overhead of new file server connection.

Since
S60 3.2
TVersionBase

Parameters

TVersionBase & aVersion Stores the version information
RFs & aFs An opened file server session

Member Enumerations Documentation

Enum TVersionType

Used internally to detect type of version info

Enumerators

EPlatformVersion = 0