CSPEntry Class Reference
class CSPEntry : public CBase
|
Service Provider Settings entry. Container class for service attributes and settings properties
serviceprovidersettings.lib
-
Since
-
S60 V3.2
Constructor & Destructor Documentation
~CSPEntry()
IMPORT_C
|
~CSPEntry
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddPropertyL(const CSPProperty &)
Adds new property to this entry.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
DeleteProperty(TInt)
IMPORT_C
TInt
|
DeleteProperty
|
(
|
TInt
|
aIndex
|
)
|
|
Deletes property from this entry by index.
Parameters
TInt
aIndex
|
index of requested property
|
DeleteProperty(TServicePropertyName)
Deletes property from this entry by property name.
GetAllProperties()
Returns all properties of this entry.
GetProperty(const CSPProperty *&, TServicePropertyName)
Returns property of this entry by property name.
GetProperty(const CSPProperty *&, TInt)
Returns property of this entry by property index.
Parameters
const
CSPProperty
*& aProperty
|
On return, reference to requested property
|
TInt
aIndex
|
index of requested property
|
GetServiceId()
Returns service Id of this entry.
GetServiceName()
IMPORT_C const
TDesC
&
|
GetServiceName
|
(
|
)
|
const
|
Returns service name of this entry.
PropertyCount()
IMPORT_C
TInt
|
PropertyCount
|
(
|
)
|
const
|
Returns count of properties in this entry
SearchProperty(TServicePropertyName)
Search index of requested property in iPropertyArray
SetServiceId(TServiceId)
Sets unique service provider ID for this entry. This ID is generated automatically when new entry is added. Service ID is also required when user updates entry in service table
SetServiceName(const TDesC &)
IMPORT_C
TInt
|
SetServiceName
|
(
|
const
TDesC
&
|
aServiceName
|
)
|
|
Sets service name for this entry.
Parameters
const
TDesC
& aServiceName
|
service name
|
UpdateProperty(TServicePropertyName, TInt)
Updates content of property in this entry.
UpdateProperty(TServicePropertyName, const TDesC &)
Updates content of property in this entry.
UpdateProperty(TServicePropertyName, TOnOff)
Updates content of property in this entry.
Member Data Documentation
RPropertyArray
iPropertyArray
Service settings properties owned by this entry Own.
TServiceId
iServiceId
Id of service settings entry ( unique )
RBuf
iServiceName
RBuf
|
iServiceName
|
[private]
|
Name of settings entry ( unique ) Own.
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.