class Ulogger::CPlugin : public CBase |
ULogger is extensible through a plug-in framework that uses ECom for plug-in discovery. Deriving from this class means that all the ECom-specific logic is already provided for the plug-in implementer, out-of-the-box, leaving the plug-in code to deal with the domain-specific logic that the plug-in is supposed to implement only.
Among the plug-in types that are currently supported are output plug-ins (see class ULogger::MOutputPlugin in uloggeroutputplugin.h) and input plug-ins (see class ULogger::MInputPlugin in uloggerinputplugin.h).
Plug-ins must derive from this class in order to be compatible with ULogger.
Public Member Functions | |
---|---|
~CPlugin () | |
TAny * | GetInterfaceL ( TPluginInterface ) |
CPlugin * | NewL (const TDesC8 &) |
Public Member Enumerations | |
---|---|
enum | TPluginInterface { EOutput , EInput } |
Private Attributes | |
---|---|
TUid | iDtor_ID_Key |
TAny * | GetInterfaceL | ( | TPluginInterface | aInterfaceId | ) | [pure virtual] |
Return pointer to requested interface. If plug-in implements multiple interfaces, it should return pointer to proper interface trough this method.
TPluginInterface aInterfaceId | Number of requested interface. |
CPlugin * | NewL | ( | const TDesC8 & | aCue | ) | [static, inline] |
Creates a CPlugin instance of the specified type and returns a pointer to it. The type is specified as the name of the ECom plug-in DLL (without the dll extension).
const TDesC8 & aCue | a descriptor containing the name of the plug-in to be created |
Enum to signify plug-in interface types. Used by each specific plug-in interface (M-class) to identify itself as being of a particular type.
EOutput | |
EInput |
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.