CWPAdapterManager Class Reference

class CWPAdapterManager : public CBase

CWPAdapterManager owns and controls all adapters.

ProvisioningEngine
Since
2.0

Inherits from

Constructor & Destructor Documentation

CWPAdapterManager()

CWPAdapterManager()[protected]

C++ default constructor.

~CWPAdapterManager()

~CWPAdapterManager()

Destructor.

Member Functions Documentation

CanSetAsDefault(TInt)

TBool CanSetAsDefault(TIntaItem)const

Checks if the setting can be set as default.

Parameters

TInt aItemSetting number

ConstructL()

voidConstructL()[protected]

By default Symbian 2nd phase constructor is private.

DetailsL(TInt, MWPPairVisitor &)

TInt DetailsL(TIntaIndex,
MWPPairVisitor &aVisitor
)

Calls a visitor for each details line of a particular item.

Parameters

TInt aIndexThe number of the item
MWPPairVisitor & aVisitorThe visitor to call

ItemCount()

TInt ItemCount()const

Returns the number of settings items.

ItemIndex(TInt, TInt &, TInt &)

voidItemIndex(TIntaItem,
TInt &aAdapter,
TInt &aAdapterIndex
)const [private]

Converts an item number into a pair of adapter and adapter local item number.

Parameters

TInt aItemSetting number
TInt & aAdapterContains adapter number after the call
TInt & aAdapterIndexContains adapter local item number after the call

MwpceCount()

TInt MwpceCount()const

MwpcePoint(TInt)

MWPContextExtension &MwpcePoint(TIntaIndex)

Parameters

TInt aIndex

NewL()

CWPAdapterManager *NewL()[static]

Two-phased constructor.

NewLC()

CWPAdapterManager *NewLC()[static]

Two-phased constructor.

PopulateL(CWPRoot &)

voidPopulateL(CWPRoot &aRoot)

Populates adapters with a document.

Parameters

CWPRoot & aRootThe document root

SaveL(MWPContextManager &, TInt)

voidSaveL(MWPContextManager &aManager,
TIntaItem
)

Saves one setting.

Parameters

MWPContextManager & aManagerThe context manager
TInt aItemSetting number

SetAsDefaultL(TInt)

voidSetAsDefaultL(TIntaItem)

Sets the setting as default.

Parameters

TInt aItemSetting number

SummaryText(TInt)

const TDesC16 &SummaryText(TIntaIndex)const

Returns a summary text.

Parameters

TInt aIndexNumber of the setting item to read

SummaryTitle(TInt)

const TDesC16 &SummaryTitle(TIntaIndex)const

Returns a summary title.

Parameters

TInt aIndexNumber of the setting item to read

Member Data Documentation

CArrayPtr< CWPAdapter > * iAdapters

CArrayPtr< CWPAdapter > *iAdapters[protected]

TInt iItemCount

TInt iItemCount[protected]

RArray< TInt > iItemIndexes

RArray< TInt >iItemIndexes[protected]