CWPAdapter Class Reference
class CWPAdapter : public CBase
|
CWPAdapter
has to be implemented by each adapter.
CWPAdapter
contains only pure virtual methods, which must be implemented by adapters, and inline methods, which can be used by adapters or engine. Inlining prevents circular binary dependency.
ProvisioningEngine
-
Since
-
2.0
Constructor & Destructor Documentation
CWPAdapter()
IMPORT_C
|
CWPAdapter
|
(
|
)
|
[protected]
|
Member Functions Documentation
CanSetAsDefault(TInt)
TBool
|
CanSetAsDefault
|
(
|
TInt
|
aItem
|
)
|
const [pure virtual]
|
Returns ETrue if the adapter can set the settings as default.
ContextExtension(MWPContextExtension *&)
Returns a pointer to a context extension.
DetailsL(TInt, MWPPairVisitor &)
TInt
|
DetailsL
|
(
|
TInt
|
aItem,
|
|
MWPPairVisitor &
|
aVisitor
|
|
)
|
[pure virtual]
|
Calls the pair visitor for each detail line of an item.
Parameters
TInt
aItem
|
Item whose details are needed
|
MWPPairVisitor & aVisitor
|
Pair visitor
|
GetSavingInfoL(TInt, RPointerArray< HBufC8 > &)
Gets the saving information from the adapter that has saved settings.
ItemCount()
TInt
|
ItemCount
|
(
|
)
|
const [pure virtual]
|
Check the number of settings items.
ListL(RImplInfoPtrArray &)
NewL(const TUid &)
IMPORT_C
CWPAdapter
*
|
NewL
|
(
|
const
TUid
&
|
aImplementationUid
|
)
|
[static]
|
Parameters
const
TUid
& aImplementationUid
|
The implementation UID of the adapter to be created.
|
Reserved_1()
TInt
|
Reserved_1
|
(
|
)
|
[private, inline, virtual]
|
SaveL(TInt)
void
|
SaveL
|
(
|
TInt
|
aItem
|
)
|
[pure virtual]
|
Saves one setting handled by the adapter.
SavingFinalizedL()
void
|
SavingFinalizedL
|
(
|
)
|
[inline, virtual]
|
Informs the adapters of the finalization of saving.
SetAsDefaultL(TInt)
void
|
SetAsDefaultL
|
(
|
TInt
|
aItem
|
)
|
[pure virtual]
|
Adapter sets the settings as default.
SettingsSavedL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
void
|
SettingsSavedL
|
(
|
const
TDesC8
&
|
,
|
|
const
TDesC8
&
|
,
|
|
const
TDesC8
&
|
|
|
)
|
[inline, virtual]
|
Informs the adapters of the saved settings.
SummaryText(TInt)
const
TDesC16
&
|
SummaryText
|
(
|
TInt
|
aIndex
|
)
|
const [pure virtual]
|
Returns the text of the nth summary line.
Parameters
TInt
aIndex
|
Number of summary line
|
SummaryTitle(TInt)
const
TDesC16
&
|
SummaryTitle
|
(
|
TInt
|
aIndex
|
)
|
const [pure virtual]
|
Returns the title of the nth summary line.
Parameters
TInt
aIndex
|
Number of summary line
|
VisitL(CWPCharacteristic &)
VisitLinkL(CWPCharacteristic &)
Member Data Documentation
TUid
iDtor_ID_Key
TUid
|
iDtor_ID_Key
|
[protected]
|
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.