CPnpProvUtil Class Reference

class CPnpProvUtil : public CBase

CPnpProvUtil class provides interface for application to set UID and provisioning adapters to set the settings application ID. PNPMS client get these values before activating service. This class can be used for launching online support in different modes of operation.

PnpUtil.lib
Since
Series 60 3.2.3

Inherits from

Constructor & Destructor Documentation

CPnpProvUtil()

CPnpProvUtil ( ) [private]

C++ default constructor.

~CPnpProvUtil()

~CPnpProvUtil ( )

Destructor.

Member Functions Documentation

ConstructCmdLineStringL(TDesC &, TConnectReason, TStartMode, TBool, TDesC &, TDes &)

void ConstructCmdLineStringL ( TDesC & aUri,
TConnectReason aConnectReason,
TStartMode aMode,
TBool aTokenOverride,
TDesC & aQueryString,
TDes & aCmdString
) [private]
Construct command Line String for starting online support.
Since
Series 60 3.2.3

Parameters

TDesC & aUri - URI of PNPMS server aConnectReason - connection reason will be provided by whoever launches PNPMS aMode - PnPMS application can be started in different mode aTokenOverride - Token override aQueryString - Help query string aCmdString - appended command line string
TConnectReason aConnectReason
TStartMode aMode
TBool aTokenOverride
TDesC & aQueryString
TDes & aCmdString

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

ConstructUriWithPnPUtilL(TDes &, TServers)

IMPORT_C void ConstructUriWithPnPUtilL ( TDes & aUri,
TServers aServer
)
Construct Uri with PnPUtil parameters.
Since
Series 60 3.2.3

Parameters

TDes & aUri - URI of PnPMS server to append PnPUtil parameters aServer - PnPMS server type
TServers aServer

GetApplicationUidL()

IMPORT_C TUint32 GetApplicationUidL ( )
Get the UID of the application to be launched. This UID is same as the one that is set using SetApplicationUidL method.
Since
Series 60 3.2.3

GetCenrepValueL(TUid, TUint32, TDes &)

void GetCenrepValueL ( TUid aRepositoryUid,
TUint32 aKey,
TDes & aGetvalue
) [private]
Get Cenrep value of key specified as parameter to SetCenrepValue.
Since
Series 60 3.2.3

Parameters

TUid aRepositoryUid - Central repository UID aKey - repository key aGetValue - value retrived from repository is stored in aGetvalue
TUint32 aKey
TDes & aGetvalue

GetProvAdapterAppIdsL(RPointerArray< HBufC > &)

IMPORT_C void GetProvAdapterAppIdsL ( RPointerArray < HBufC > & appID )
Get Provisioning application settings ID. This value is used by PNPMS client before launching application to confirm application settings are downloaded successfully.
Since
Series 60 3.2.3

Parameters

RPointerArray < HBufC > & appID - Reference of array is passed which has all the application IDs set by Provisioning adapters

LaunchOnlineSupportL(TDesC &, TConnectReason, TStartMode, TBool, TDesC &)

IMPORT_C void LaunchOnlineSupportL ( TDesC & aUri,
TConnectReason aConnectReason,
TStartMode aMode,
TBool aTokenOverride,
TDesC & aQueryString
)
Launches Online Support in different modes of PnPMS operation.
Since
Series 60 3.2.3

Parameters

TDesC & aUri - URI of PnPMS server aConnectReason - connection reason will be provided by whoever launches PnPMS aMode - PnPMS application can be started in different mode aTokenOverride - Token override aQueryString - Help query string
TConnectReason aConnectReason
TStartMode aMode
TBool aTokenOverride
TDesC & aQueryString

NewL()

IMPORT_C CPnpProvUtil * NewL ( ) [static]

Two-phased constructor.

NewLC()

IMPORT_C CPnpProvUtil * NewLC ( ) [static]

Two-phased constructor.

ParseValueL(TDesC &, RPointerArray< HBufC > &)

void ParseValueL ( TDesC & aValue,
RPointerArray < HBufC > & array
) [private]
Parse application IDs set by provisioning adapters.
Since
Series 60 3.2.3

Parameters

TDesC & aValue - String containing application IDs. array - Reference to array of application IDs parsed.
RPointerArray < HBufC > & array

SetApplicationUidL(TUint32)

IMPORT_C void SetApplicationUidL ( TUint32 aUid )
Set the UID of application that launched PnPMS service for downloading configuration settings.
Since
Series 60 3.2.3

Parameters

TUint32 aUid - Uid of the application.

SetCenrepValueL(TUid, TUint32, TDesC &)

void SetCenrepValueL ( TUid aRepositoryUid,
TUint32 aKey,
TDesC & aSetValue
) [private]
Set Cenrep value to key specified as parameter.
Since
Series 60 3.2.3

Parameters

TUid aRepositoryUid - Central repository UID aKey - repository key aSetValue - value set to repository key
TUint32 aKey
TDesC & aSetValue

SetProvAdapterAppIdL(TDesC &)

IMPORT_C void SetProvAdapterAppIdL ( TDesC & appID )
Set Provisioning application settings ID. Provisioning adapters set this value and indicate PNPMS client that application settings are saved successfully.
Since
Series 60 3.2.3

Parameters

TDesC & appID - Provisioning settings application ID