CContextPlugin Class Reference
class CContextPlugin : public CBase |
This class implements the context plugin interface.
Constructor & Destructor Documentation
~CContextPlugin()
IMPORT_C | ~CContextPlugin | ( | ) | [virtual] |
Destroys the implementation. This is virtual method and this class is not intended for derivation, so not exported.
Member Functions Documentation
ContextSnapshot(MContextPluginObserver &, CHarvesterData &)
This pure virtual method takes the context snapshot for one metadata object and writes the information to the object received as parameter. The observer will be informed about the status of the operation.
Parameters
MContextPluginObserver & aObserver | An interface class to inform about finishing context snapshot. |
CHarvesterData & aHD | |
ContextSnapshot(MContextPluginObserver &, RPointerArray< CHarvesterData > &)
This pure virtual method takes the context snapshot for several metadata object and writes the information to the all the objects received as parameter. The observer will be informed about the status of the operation.
Init(MContextPluginObserver &)
A pure virtual interface method to initialize the plug-in.
ListImplementationsL(RImplInfoPtrArray &)
Lists all available implementations which implement this interface.
Parameters
RImplInfoPtrArray & aImplInfoArray | A list of existing implementations of the interface. |
NewL(const TUid &)
Creates an implementation of a desired implementation defined by the parameter.
SetMdeSession(CMdESession &)
void | SetMdeSession | ( | CMdESession & | aSession | ) | [pure virtual] |
Set a pointer to MdESession. Session is used to store harvested context data.
Parameters
CMdESession & aSession | Session pointer to set. |
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [private] |
Instance identifier key. When instance of an implementation is created by ECOM framework, the framework will assign UID for it. The UID is used in destructor to notify framework that this instance is being destroyed and resources can be released.
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.