MNssContext Class Reference
MNssContext is a pure interface for context processing.
MNssContext provides methods for setting & getting context name and setting & getting context global flag. A context can only be created using the context manager. The context manager returns an empty context, and the client had to populate its name and global flag using the methods below. A context can be destroyed using delete on the context pointer. NssVASApi.lib
- Since
- 2.0
Constructor & Destructor Documentation
~MNssContext()
~MNssContext | ( | ) | [inline, virtual] |
virutal destructor to ensure proper cleanup
- Since
- 2.0
Member Functions Documentation
ClientData()
const TDesC8 & | ClientData | ( | ) | [pure virtual] |
Gets the client data.
- Since
- 2.8
ContextName()
TDesC & | ContextName | ( | ) | [pure virtual] |
Get the name of the context
- Since
- 2.0
IsGlobal()
TBool
| IsGlobal | ( | ) | [pure virtual] |
Is the context global
- Since
- 2.0
SetClientData(const TDesC8 &)
void | SetClientData | ( | const TDesC8 & | aData | ) | [pure virtual] |
Parameters
const TDesC8 & aData | At most 100 bytes of serialized client data. |
SetGlobal(TBool)
void | SetGlobal | ( | TBool | aGlobal | ) | [pure virtual] |
Sets/Resets the global flag for the context
- Since
- 2.0
Parameters
TBool aGlobal | ETrue to set the context as global, EFalse as not global |
SetNameL(const TDesC &)
void | SetNameL | ( | const TDesC & | aName | ) | [pure virtual] |
Sets the name of the context
- Since
- 2.0
Parameters
const TDesC & aName | name of the context as a descriptor |
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.