CFeatureInfoPlugin Class Reference
class CFeatureInfoPlugin : public CBase |
Feature Manager ECOM Plugin interface class to be implemented by adaptation. As it is an adaptation interface implementations are only loaded from ROM.
Implementations of this interface are created by the Feature Manager server during start up in it's main thread where an Active Scheduler is installed. Implementations must perform minmial work in ProcessCommandL() and return. Plugin work and calls to ProcessResponseL() must be performed asynchronsly in an active object callback running in the server's main thread.
For the command Ids and types used with this interface see definitions in the FeatureInfoCommand namespace.
MFeatureInfoPluginCallback KFeatureInfoPluginInterfaceUid
Constructor & Destructor Documentation
~CFeatureInfoPlugin()
~CFeatureInfoPlugin | ( | ) | [inline, virtual] |
Member Functions Documentation
NewL(TUid, MFeatureInfoPluginCallback &)
Constructor method for instance. Uses ECom to find correct instance.
Parameters
TUid aImplementationUid | UID of the interface implementation to instantiate. |
MFeatureInfoPluginCallback & aResponseCallback | Reference to plugin callback handler. |
ProcessCommandL(const FeatureInfoCommand::TFeatureInfoCmd, const TUint8, TDesC8 &)
Method to invoke a particular command in the plugin. Response to method is returned via separate ProcessResponseL call. Call to ProcessResponseL is done after the call to ProcessCommandL returns. Leaves with error code KErrNotSupported if command ID is not supported by the plug-in. If ProcessCommandL leaves, no corresponding ProcessResponseL is expected.
-
leave
- KErrNotSupported aCommandId not supported by plug-in.
Parameters
const FeatureInfoCommand::TFeatureInfoCmd aCommandId | Command ID |
const TUint8 aTransId | Transaction ID |
TDesC8 & aData | Data associated with command. Data package contents are defined by command. Some commands require no data and pass empty buffer as aData. |
Member Data Documentation
TUid
iDestructorIDKey
TUid
| iDestructorIDKey | [private] |
Destructor identifier to be used with ECom framework.
MFeatureInfoPluginCallback * iResponseCallback
Callback pointer to be used with responses to commands. This pointer is not owned by this class.
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.