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
|
(
|
)
|
|
Member Functions Documentation
AddMenuL(CPbk2UIExtensionMenu *)
IMPORT_C void
|
AddMenuL
|
(
|
CPbk2UIExtensionMenu *
|
aExtensionMenu
|
)
|
|
Adds aMenu to the extension information.
Parameters
CPbk2UIExtensionMenu * aExtensionMenu
|
Menu to add to this information.
|
AddViewIdL(TPbk2UIExtensionViewId &)
Adds a View id object to the extension view ids.
ConstructL(const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
[private, inline]
|
CreateStorePropertyArrayReaderLC(TResourceReader &)
Creates a resource reader for the store property array. Not to be called if HasStorePropertyArray returns EFalse.
CreateViewGraphModificationReaderLC(TResourceReader &)
void
|
CreateViewGraphModificationReaderLC
|
(
|
TResourceReader
&
|
aReader
|
)
|
const
|
Creates a resource reader for the view graph modifications.
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
|
(
|
TInt
|
aCommandId
|
)
|
|
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
aCommandId
|
Command id to check.
|
ImplementsView(TUid)
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
aViewId
|
View id to check.
|
LoadingPolicy()
TUint
|
LoadingPolicy
|
(
|
)
|
const
|
Returns the loading policy of the extension.
MenuAt(TInt)
CPbk2UIExtensionMenu &
|
MenuAt
|
(
|
TInt
|
aIndex
|
)
|
|
Returns the menu at the given index.
Parameters
TInt
aIndex
|
Index of the menu to return.
|
MenuCount()
Returns the number of menus that the plug-in brings to application.
NewLC(const TDesC &)
Creates a new instance of this class by reading the data from the resources.
Parameters
const
TDesC
& aFileName
|
File that contains the resources for this object.
|
ViewIds()
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
RPointerArray< CPbk2UIExtensionMenu > iMenus
RArray< TInt > iOverWrittenCmds
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
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.