CSysapKeyHandlerPlugin Class Reference
class CSysapKeyHandlerPlugin : public CBase |
Constructor & Destructor Documentation
~CSysapKeyHandlerPlugin()
~CSysapKeyHandlerPlugin | ( | ) | [inline, virtual] |
Member Functions Documentation
HandleKeyEventL(const TKeyEvent &, TEventCode)
Parameters
const TKeyEvent & aKeyEvent | contains information about the key event |
TEventCode aType | contains information about the type of the key event |
NewL(TUid, MSysapCallback *)
Description: Wraps ECom object instantitation. Will return the default interface implementation, which matches to given aUid.
Note: This is not a "normal" NewL method, since normally NewL methods are only defined for concrete classes. Note that also implementations of this interface provide NewL methods. They are the familiar NewL's, which create instance of classes.
Parameters
TUid aUid | Uid of the plugin to be instantiated |
MSysapCallback * aCallback | pointer to object that will implement a callback interface. Cannot be NULL. |
PostConstructL()
void | PostConstructL | ( | ) | [protected, inline, virtual] |
An additional phase for derived class construction.
This method is called immediately after the plug-in has been loaded. Derived classes may overload this method, if they need to perform initializations that require usage of the callback pointer (obtained via SysapCallback()-function).
ProvideKeyEventsL(RArray< TKeyEvent > &)
void | ProvideKeyEventsL | ( | RArray< TKeyEvent > & | aKeyEventArray | ) | [inline, virtual] |
Provides the key events that the plugin wants to listen to. Plugins should overload this method if they are of version 2 or higher. iCode, iScanCode and iModifiers MUST be defined in each TKeyEvent.
SysapCallback()
Returns pointer to callback object.
Member Data Documentation
MSysapCallback * iCallback
Pointer to callback object. Not own.
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.