CIMCVMenuExtension Class Reference

class CIMCVMenuExtension : public CBase

Abstract interface for menuextensions. extension plugins can extend service tab menu by implementing a class derived from this.

Inherits from

Constructor & Destructor Documentation

~CIMCVMenuExtension()

~CIMCVMenuExtension()[inline, virtual]

Member Functions Documentation

CommandInfoResource()

TInt CommandInfoResource()const [pure virtual]

Gets STM_COMMAND_INFO_ARRAY resource. Resource should be loaded.

CreateImplementationL(TUid)

CIMCVMenuExtension *CreateImplementationL(TUidaUid)[static, inline]

Parameters

TUid aUid

DynInitMenuPaneL(TInt, CEikMenuPane &, TUint)

voidDynInitMenuPaneL(TIntaPreviousId,
CEikMenuPane &aMenuPane,
TUintaServiceId
)[pure virtual]

Filters the menu pane of the plugin connected to this.

Parameters

TInt aPreviousIdMenu command id after which the plugins menu should come.
CEikMenuPane & aMenuPaneMenu pane which will be filtered.
TUint aServiceIdservice id.

HandleCommandL(const TInt &)

TBool HandleCommandL(const TInt &aCommand)[pure virtual]

Handles service tab extension commands.

Parameters

const TInt & aCommand

RegisterCommandMapper(MIMCVCommandMapper &)

voidRegisterCommandMapper(MIMCVCommandMapper &aMapper)[pure virtual]

Registers command ID mapper. This method is called automatically by Servicetab menu extneions at initialization phase.

Parameters

MIMCVCommandMapper & aMapperCommand ID mapper

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 a UID for it. The UID is used in the destructor to notify framework that this instance is being destroyed and resources can be released. Plugin implementations should leave this untouched, as the inline destructor and constructor method take care of ECom releasing.