CPbk2UIExtensionThinPlugin Class Reference

class CPbk2UIExtensionThinPlugin : public CBase

Phonebook 2 thin UI extension ECom plug-in interface. Extensions that implement this interface must be as small as possible because all Phonebook 2 thin UI extension are loaded in Phonebook 2 start-up.

This class is responsible for defining the thin extension plug-in interface and creating thin extension plug-in implementations.

Inherits from

  • CPbk2UIExtensionThinPlugin

Constructor & Destructor Documentation

~CPbk2UIExtensionThinPlugin()

~CPbk2UIExtensionThinPlugin()[inline]

Destructor.

Member Functions Documentation

DynInitMenuPaneL(TInt, CEikMenuPane *, MPbk2ContactUiControl &)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane,
MPbk2ContactUiControl &aControl
)[pure virtual]

Called before a menu is launched.

Use CEikMenuPane::MenuItemExists( TInt aCommandId, TInt& aPosition ) before setting an item dimmed.

Parameters

TInt aResourceIdThe id of the menu pane.
CEikMenuPane * aMenuPaneA reference to the menu pane.
MPbk2ContactUiControl & aControlThe current UI control.

ExtensionStartupL(MPbk2StartupMonitor &)

voidExtensionStartupL(MPbk2StartupMonitor &aStartupMonitor)[pure virtual]

Called in application start-up after the application services have been created.

Parameters

MPbk2StartupMonitor & aStartupMonitorThe start-up monitor that can be used to get UI completion event. The extension must notify the monitor after it's own start-up.

ImplementationUid()

TUid ImplementationUid()const [inline]

Returns the implementation UID.

NewL(TUid)

CPbk2UIExtensionThinPlugin *NewL(TUidaUid)[static, inline]

Creates a new instance of this class.

Parameters

TUid aUidThe implementation UID of the plugin.

ThinUIPluginExtension(TUid)

TAny *ThinUIPluginExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

Member Data Documentation

TUid iDtorIDKey

TUid iDtorIDKey[private]

TUid iImplementationUid

TUid iImplementationUid[private]