VersionInfo Class Reference

API published in: S60 3rd Ed FP 2

Link against: platformver.lib

Capability Information

Required Capabilities

None


#include <versioninfo.h>

Detailed Description

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.

Static Public Member Functions

static IMPORT_C TInt  GetVersion (TVersionBase &aVersion)
  This method gets the version information.
static IMPORT_C TInt  GetVersion (TVersionBase &aVersion, RFs &aFs)
  This method gets the version information.

Data Structures

class   TPlatformVersion
  Class TPlatformVersion stores platform version information. More...
class   TVersionBase
  Class TVersionBase is a base class for all version information data. More...

Member Function Documentation

static IMPORT_C TInt VersionInfo::GetVersion TVersionBase aVersion,
RFs &  aFs
[static]
 

This method gets the version information.

Given file server session avoids the overhead of new file server connection.

Parameters:
aVersion  Stores the version information
aFs  An opened file server session
Returns:
System wide error code
See also:
TVersionBase
static IMPORT_C TInt VersionInfo::GetVersion TVersionBase aVersion  )  [static]
 

This method gets the version information.

Parameters:
aVersion  Stores the version information
Returns:
System wide error code
See also:
TVersionBase

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top