HSPluginSettingsIf::CHomescreenSettings Class Reference
class HSPluginSettingsIf::CHomescreenSettings : public CBase
|
Wrapper for hsps liw service
HomeScreenSettingsIf.lib
-
Since
-
S60 v5.0
Inherits from
-
HSPluginSettingsIf::CHomescreenSettings
Constructor & Destructor Documentation
CHomescreenSettings()
CHomescreenSettings
|
(
|
)
|
[protected]
|
~CHomescreenSettings()
~CHomescreenSettings
|
(
|
)
|
[protected, virtual]
|
Member Functions Documentation
AddObserverL(MHomeScreenSettingsObserver *)
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aAppUid
|
)
|
[protected]
|
Parameters
const
TDesC8
& aAppUid
|
Application uid in integer format
|
FillMapFromItemL(CLiwDefaultMap &, const CItemMap &)
Fills liw map from given item
FillMapFromPropertiesL(CLiwDefaultList &, const RPointerArray< CPropertyMap > &)
Fills liw map from given item properties
GetSettingsL(const TDesC8 &, RPointerArray< CItemMap > &)
From
MHomescreenSettingsIf
Stores defined plugin s settings. Plugin is identified with unique plugin ID used in application s configuration
HandleNotifyL(TInt, TInt, CLiwGenericParamList &, const CLiwGenericParamList &)
InitializeL(const TDesC8 &)
IMPORT_C void
|
InitializeL
|
(
|
const
TDesC8
&
|
aAppUid
|
)
|
[static]
|
Initialize settings api.
There must be one UnInitialize call for each Initialize call in order to prevent memory leaking. (Implementation contains reference counting)
Instance()
Get instance to settings API.
InitializeL must be called before calling this method. Otherwise NULL is returned. InitializeL and Instance must be called within same thread since TLS is used to storage instance data.
NewL(const TDesC8 &)
Parameters
const
TDesC8
& aAppUid
|
Application uid in integer format
|
NewLC(const TDesC8 &)
Parameters
const
TDesC8
& aAppUid
|
Application uid in integer format
|
ProcessConfItemPropertiesL(const CLiwList &, CItemMap &)
void
|
ProcessConfItemPropertiesL
|
(
|
const
CLiwList
&
|
aPropertyMapList,
|
|
CItemMap
&
|
aItemMap
|
|
)
|
[protected]
|
Processes all items' properties configuration
Parameters
const
CLiwList
& aPropertyMapList
|
input properties
|
CItemMap
& aItemMap
|
output item
|
ProcessConfigurationSettingsL(const CLiwList &, CHspsConfiguration &)
Processes all items configuration setting
RemoveObserver(MHomeScreenSettingsObserver *)
SetPluginSettingsL(const TDesC8 &, const RPointerArray< CItemMap > &, const TDesC8 &)
Parameters
const
TDesC8
& aPluginId
|
plugin id
|
const
RPointerArray
<
CItemMap
> & aSettings
|
array of items to set
|
const
TDesC8
& aStoringParam
|
parameter to tell whether plugin configuration need to be saved.
|
SetSettingsL(const TDesC8 &, const RPointerArray< CItemMap > &, const TBool)
From
MHomescreenSettingsIf
Stores defined plugin s settings. Plugin is identified with unique plugin ID used in application s configuration
Parameters
const
TDesC8
& aPluginId
|
Pluging s ID which settings are stored
|
const
RPointerArray
<
CItemMap
> & aSettings
|
List of item maps
|
const
TBool
aStoringParam
|
parameter to tell whether plugin configuration need to be saved also if parameter is ETrue.
|
UnInitialize()
IMPORT_C void
|
UnInitialize
|
(
|
)
|
[static]
|
Uninitialize settings api.
There must be one UnInitialize call for each Initialize call in order to prevent memory leaking. (Implementation contains reference counting)
Member Data Documentation
MLiwInterface * iHspsInterface
Owned. Provides hsps services.
CLiwCriteriaItem * iHspsService
Owned. HSPS SAPI service.
RPointerArray< MHomeScreenSettingsObserver > iObservers
CLiwServiceHandler * iServiceHandler
Owned. SAPI service handler.
TInt
iTransactionId
TInt
|
iTransactionId
|
[private]
|
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.