CWPEngine Class Reference
class CWPEngine : public CBase |
CWPEngine is an engine class used by Provisioning components.
ProvisioningEngine
- Since
- 2.0
Constructor & Destructor Documentation
Member Functions Documentation
AcceptL(MWPVisitor &)
Accepts a visitor for the contents of the document.
Parameters
MWPVisitor & aVisitor | Visitor is called for each element in the root of the document. |
AdapterManagerL()
Returns an adapter manager.
Builder()
Returns a builder to be used for creating the document data.
CanSetAsDefault(TInt)
IMPORT_C TBool | CanSetAsDefault | ( | TInt | aItem | ) | const |
Checks if the setting can be set as default.
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
ContextDataCountL(TUint32)
Deletes a data item from a context.
ContextExistsL(TUint32)
Checks if a context exists.
ContextExistsL(const TDesC &)
Checks if a context exists.
ContextL(const TDesC &)
Returns a specific context.
Parameters
const TDesC & aTPS | TPS whose context should be looked for |
ContextManager()
Returns a context manager.
ContextUidsL()
Number of contexts available.
CreateContextL(const TDesC &, const TDesC &, const MDesC16Array &)
Creates a context. Leaves with KErrOverflow if the max. number of contexts has been reached.
Parameters
const TDesC & aName | Name of the context |
const TDesC & aTPS | TPS of the context |
const MDesC16Array & aProxies | Proxies that can be used in the context |
CreateLinksL()
IMPORT_C void | CreateLinksL | ( | ) | |
Creates links from logical proxy ids to logical proxies and access point ids to access points. Call this before walking through the document data.
CurrentContextL()
Returns the current context.
DeleteContextDataL(TUint32)
Deletes a data item from a context.
DeleteContextL(TUint32)
IMPORT_C void | DeleteContextL | ( | TUint32 | aUid | ) | |
DetailsL(TInt, MWPPairVisitor &)
IMPORT_C 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 |
ExternalizeL(RWriteStream &)
GetAccessDenied()
IMPORT_C TInt | GetAccessDenied | ( | ) | |
Retutn the status of iAccessDenied variable
ImportDocumentL(const TDesC8 &)
IMPORT_C void | ImportDocumentL | ( | const TDesC8 & | aDocument | ) | |
Imports a WBXML document to the engine.
InternalizeL(RReadStream &)
Loads data from a stream.
ItemCount()
IMPORT_C TInt | ItemCount | ( | ) | const |
Returns the number of settings items.
ItemIndex(TInt, TInt &, TInt &)
void | ItemIndex | ( | TInt | aGlobalIndex, |
| TInt & | aAdapter, |
| TInt & | aAdapterIndex |
| ) | const [private] |
Converts an item number into a pair of adapter and adapter local item number.
Parameters
TInt aGlobalIndex | The item number |
TInt & aAdapter | Contains adapter number after the call |
TInt & aAdapterIndex | Contains adapter local item number after the call |
PopulateL()
Populates the adapters with the document contents.
RegisterContextObserverL(MWPContextObserver *)
Register an observer to context information.
RestoreL(CStreamStore &, TStreamId)
Restores the document data from a store.
SaveL(TInt)
IMPORT_C void | SaveL | ( | TInt | aItem | ) | |
SetAccessDenied(TBool)
IMPORT_C void | SetAccessDenied | ( | TBool | aStatus | ) | |
Sets the iAccessDenied variable
Parameters
TBool aStatus | The status of iAccessDenied variable |
SetAsDefaultL(TInt)
IMPORT_C void | SetAsDefaultL | ( | TInt | aItem | ) | |
Sets the setting as default.
SetCurrentContextL(TUint32)
IMPORT_C void | SetCurrentContextL | ( | TUint32 | aUid | ) | |
Sets the current context.
StoreL(CStreamStore &)
Stores the document data to a store.
SummaryText(TInt)
Parameters
TInt aIndex | Number of the setting item to read |
SummaryTitle(TInt)
Parameters
TInt aIndex | Number of the setting item to read |
UnregisterContextObserver(MWPContextObserver *)
Unregister an observer to context information.
Member Data Documentation
TBool
iAccessDenied
TBool
| iAccessDenied | [private] |
CWPAdapterManager * iAdapters
MWPContextManager * iManager
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.