CServicesDB Class Reference
class CServicesDB : public CBase
|
API for retrieving various localized strings associated with services.
This class receives a resource ID during construction (resource type is DAS_SERVICES) and retrieves various info defined in this resource.
defaultappclient.dll
-
Since
-
S60 v5.0
Constructor & Destructor Documentation
CServicesDB()
CServicesDB
|
(
|
)
|
[private]
|
~CServicesDB()
IMPORT_C
|
~CServicesDB
|
(
|
)
|
|
Member Functions Documentation
ConstructL(TResourceReader *)
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const
|
Returns the number of available services (the number of services read from the resource during construction)
NewL(TResourceReader *)
Symbian OS two-phased constructor
NewLC(TResourceReader *)
Symbian OS two-phased constructor
ServiceNameLC(TInt)
IMPORT_C
HBufC
*
|
ServiceNameLC
|
(
|
TInt
|
aIndex
|
)
|
const
|
Function to return the generic name of a service.
Parameters
TInt
aIndex
|
the index of the service
|
ServiceNameLC(TUid)
IMPORT_C
HBufC
*
|
ServiceNameLC
|
(
|
TUid
|
aServiceUid
|
)
|
const
|
Function to return the generic name of a service.
Parameters
TUid
aServiceUid
|
the Uid of the service
|
ServiceStringLC(TInt, const TDes &)
IMPORT_C
HBufC
*
|
ServiceStringLC
|
(
|
TInt
|
aIndex,
|
|
const
TDes
&
|
aParam
|
|
)
|
const
|
Function to return the localized name associated with a service. If the returned strings accepts a parameter, this can be specified as aParam
Parameters
TInt
aIndex
|
the index of the service
|
const
TDes
& aParam
|
parameter for the localized string
|
ServiceStringLC(TUid, const TDes &)
IMPORT_C
HBufC
*
|
ServiceStringLC
|
(
|
TUid
|
aServiceUid,
|
|
const
TDes
&
|
aParam
|
|
)
|
const
|
Function to return the localized name associated with a service. If the returned strings accepts a parameter, this can be specified as aParam
Parameters
TUid
aServiceUid
|
the Uid of the service
|
const
TDes
& aParam
|
parameter for the localized string
|
ServiceUidL(TInt)
IMPORT_C
TUid
|
ServiceUidL
|
(
|
TInt
|
aIndex
|
)
|
const
|
Function to return the Uid of a service (by index).
Member Data Documentation
RPointerArray< HBufC > iServiceLoc
array of service localized names
RPointerArray< HBufC > iServiceNames
RArray< TInt > iServiceUids
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.