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
Private Member Functions
|
|
CPnpProvUtil
()
|
void
|
ConstructCmdLineStringL
(
TDesC
&,
TConnectReason
,
TStartMode
,
TBool
,
TDesC
&,
TDes
&)
|
void
|
ConstructL
()
|
void
|
GetCenrepValueL
(
TUid
,
TUint32
,
TDes
&)
|
void
|
ParseValueL
(
TDesC
&,
RPointerArray
<
HBufC
> &)
|
void
|
SetCenrepValueL
(
TUid
,
TUint32
,
TDesC
&)
|
Constructor & Destructor Documentation
CPnpProvUtil()
CPnpProvUtil
|
(
|
)
|
[private]
|
Member Functions Documentation
ConstructCmdLineStringL(TDesC &, TConnectReason, TStartMode, TBool, TDesC &, TDes &)
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 > &)
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 &)
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
|
|
ParseValueL(TDesC &, RPointerArray< HBufC > &)
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
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.