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 ( TInt aItem ) const

Checks if the setting can be set as default.

Parameters

TInt aItem Setting number

ConstructL()

void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

DetailsL(TInt, MWPPairVisitor &)

TInt DetailsL ( TInt aIndex,
MWPPairVisitor & aVisitor
)

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

Parameters

TInt aIndex The number of the item
MWPPairVisitor & aVisitor The visitor to call

ItemCount()

TInt ItemCount ( ) const

Returns the number of settings items.

ItemIndex(TInt, TInt &, TInt &)

void ItemIndex ( TInt aItem,
TInt & aAdapter,
TInt & aAdapterIndex
) const [private]

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

Parameters

TInt aItem Setting number
TInt & aAdapter Contains adapter number after the call
TInt & aAdapterIndex Contains adapter local item number after the call

MwpceCount()

TInt MwpceCount ( ) const

MwpcePoint(TInt)

MWPContextExtension & MwpcePoint ( TInt aIndex )

Parameters

TInt aIndex

NewL()

CWPAdapterManager * NewL ( ) [static]

Two-phased constructor.

NewLC()

CWPAdapterManager * NewLC ( ) [static]

Two-phased constructor.

PopulateL(CWPRoot &)

void PopulateL ( CWPRoot & aRoot )

Populates adapters with a document.

Parameters

CWPRoot & aRoot The document root

SaveL(MWPContextManager &, TInt)

void SaveL ( MWPContextManager & aManager,
TInt aItem
)

Saves one setting.

Parameters

MWPContextManager & aManager The context manager
TInt aItem Setting number

SetAsDefaultL(TInt)

void SetAsDefaultL ( TInt aItem )

Sets the setting as default.

Parameters

TInt aItem Setting number

SummaryText(TInt)

const TDesC16 & SummaryText ( TInt aIndex ) const

Returns a summary text.

Parameters

TInt aIndex Number of the setting item to read

SummaryTitle(TInt)

const TDesC16 & SummaryTitle ( TInt aIndex ) const

Returns a summary title.

Parameters

TInt aIndex Number 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]