CPbk2UIExtensionInformation Class Reference

class CPbk2UIExtensionInformation : public CBase

Phonebook 2 UI Extension information. An instance of this class is created from PHONEBOOK2_EXTENSION_INFORMATION resource definition.

Inherits from

  • CPbk2UIExtensionInformation

Constructor & Destructor Documentation

CPbk2UIExtensionInformation()

CPbk2UIExtensionInformation()[private]

~CPbk2UIExtensionInformation()

~CPbk2UIExtensionInformation()

Destructor.

Member Functions Documentation

AddMenuL(CPbk2UIExtensionMenu *)

IMPORT_C voidAddMenuL(CPbk2UIExtensionMenu *aExtensionMenu)

Adds aMenu to the extension information.

Parameters

CPbk2UIExtensionMenu * aExtensionMenuMenu to add to this information.

AddViewIdL(TPbk2UIExtensionViewId &)

IMPORT_C voidAddViewIdL(TPbk2UIExtensionViewId &aViewId)

Adds a View id object to the extension view ids.

Parameters

TPbk2UIExtensionViewId & aViewIdExtension view id.

ConstructL(const TDesC &)

voidConstructL(const TDesC &aFileName)[private, inline]

Parameters

const TDesC & aFileName

CreateStorePropertyArrayReaderLC(TResourceReader &)

voidCreateStorePropertyArrayReaderLC(TResourceReader &aReader)

Creates a resource reader for the store property array. Not to be called if HasStorePropertyArray returns EFalse.

Parameters

TResourceReader & aReaderThe reader to create.

CreateViewGraphModificationReaderLC(TResourceReader &)

voidCreateViewGraphModificationReaderLC(TResourceReader &aReader)const

Creates a resource reader for the view graph modifications.

Parameters

TResourceReader & aReaderThe reader to create.

HasIconExtension()

TBool HasIconExtension()const

Returns ETrue if the extension has own icons.

HasStorePropertyArray()

TBool HasStorePropertyArray()const

Returns ETrue if the extension has defined store property array in the resource.

HasViewGraphModifications()

TBool HasViewGraphModifications()const

Returns ETrue if this extension has modifications to the view graph, EFalse otherwise.

IconInformation()

CPbk2UIExtensionIconInformation &IconInformation()const

Returns the icon information of the extension.

ImplementationUid()

TUid ImplementationUid()const

Returns the implementation uid of the plug-in.

ImplementsMenuCommand(TInt)

TBool ImplementsMenuCommand(TIntaCommandId)

Checks if the plug-in represented by this resource implements given menu command. Note that the this may return ETrue even though the plug-in does not actually implement the command but only has the command in its command id range.

Parameters

TInt aCommandIdCommand id to check.

ImplementsView(TUid)

TBool ImplementsView(TUidaViewId)

Checks if the plug-in represented by this resource implements view with the given view id. Note that this may return ETrue even though the plug-in does not actually implement the view but only has the view in its view id range.

Parameters

TUid aViewIdView id to check.

LoadingPolicy()

TUint LoadingPolicy()const

Returns the loading policy of the extension.

MenuAt(TInt)

CPbk2UIExtensionMenu &MenuAt(TIntaIndex)

Returns the menu at the given index.

Parameters

TInt aIndexIndex of the menu to return.

MenuCount()

TInt MenuCount()const

Returns the number of menus that the plug-in brings to application.

NewLC(const TDesC &)

CPbk2UIExtensionInformation *NewLC(const TDesC &aFileName)[static]

Creates a new instance of this class by reading the data from the resources.

Parameters

const TDesC & aFileNameFile that contains the resources for this object.

ViewIds()

TArray< TPbk2UIExtensionViewId >ViewIds()const

Returns an array of extension view ids.

Member Data Documentation

CPbk2UIExtensionIconInformation * iIconInformation

CPbk2UIExtensionIconInformation *iIconInformation[private]

TUid iImplementationUid

TUid iImplementationUid[private]

TUint iLoadingPolicy

TUint iLoadingPolicy[private]

TPbk2UIExtensionRange iMenuCommandRange

TPbk2UIExtensionRange iMenuCommandRange[private]

RPointerArray< CPbk2UIExtensionMenu > iMenus

RPointerArray< CPbk2UIExtensionMenu >iMenus[private]

RArray< TInt > iOverWrittenCmds

RArray< TInt >iOverWrittenCmds[private]

Own: An array for commands ids that are overwritten by the extension

RPbk2LocalizedResourceFile iResourceFile

RPbk2LocalizedResourceFile iResourceFile[private]

TInt iStorePropertyArrayResId

TInt iStorePropertyArrayResId[private]

TInt iViewGraphModificationResId

TInt iViewGraphModificationResId[private]

RArray< TPbk2UIExtensionViewId > iViewIds

RArray< TPbk2UIExtensionViewId >iViewIds[private]