CCalenCustomisationManager Class Reference
class CCalenCustomisationManager : public CBase
|
Inherits from
-
CCalenCustomisationManager
Nested Classes and Structures
Constructor & Destructor Documentation
CCalenCustomisationManager(MCalenServicesFactory &, MCalenServices &, RPointerArray< CCalenViewInfo > &, CCalenPluginStatusArray &)
~CCalenCustomisationManager()
~CCalenCustomisationManager
|
(
|
)
|
|
Member Functions Documentation
ActivePlugins()
IMPORT_C const
RArray
<
TUid
> &
|
ActivePlugins
|
(
|
)
|
const
|
Returns a reference to an array of active plugins uids
AddPluginL(CCalenCustomisation *, TUid)
void
|
AddPluginL
|
(
|
CCalenCustomisation *
|
aPlugin,
|
|
TUid
|
aUid
|
|
)
|
[private]
|
Parameters
CCalenCustomisation * aPlugin
|
|
TUid
aUid
|
|
CanBeEnabledDisabledL(TUid)
IMPORT_C
TBool
|
CanBeEnabledDisabledL
|
(
|
TUid
|
aPluginUid
|
)
|
|
Returns if plugin can be enabled/disabled from settings
CheckHiddenViewL(TUid, TUid)
void
|
CheckHiddenViewL
|
(
|
TUid
|
aViewUid,
|
|
TUid
|
aPluginUid
|
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CreateActivePluginListL()
void
|
CreateActivePluginListL
|
(
|
)
|
[private]
|
CustomPreviewPaneL(TRect &)
Gets a custom preview pane from the appropriate customisation.
DisableAllPluginsL()
IMPORT_C void
|
DisableAllPluginsL
|
(
|
)
|
|
DisablePluginL(TUid)
void
|
DisablePluginL
|
(
|
TUid
|
aPluginUid
|
)
|
[private]
|
DisablePluginOnFakeExitL(TUid)
void
|
DisablePluginOnFakeExitL
|
(
|
TUid
|
aPluginUid
|
)
|
[private]
|
Disable plugin on fake exit
DoImmediatePluginLoadingL(TBool)
void
|
DoImmediatePluginLoadingL
|
(
|
TBool
|
aLoadViewbasedPulgins = EFalse
|
)
|
[private]
|
Parameters
TBool
aLoadViewbasedPulgins = EFalse
|
|
DoPluginLoadingL()
IMPORT_C void
|
DoPluginLoadingL
|
(
|
)
|
|
EnablePluginL(TUid)
void
|
EnablePluginL
|
(
|
TUid
|
aPluginUid
|
)
|
[private]
|
FindPluginL(TUid)
CCalenCustomisation *
|
FindPluginL
|
(
|
TUid
|
aUid
|
)
|
[private]
|
GetCommandHandlerL(TInt)
Get a command handler for a specific command
Parameters
TInt
aCommand
|
Command to find a command handler for
|
GetCustomViewsL(TUid, RPointerArray< CCalenView > &)
GetCustomViews returns custom views info in an array for a given plugin. NOTE: The contents of the array are owned by the caller - caller must guarantee to call ResetAndDestroy on the array in all cases.
GetHiddenViewIdL(TUid, RArray< TInt > &)
IMPORT_C void
|
GetHiddenViewIdL
|
(
|
TUid
|
aPluginUid,
|
|
RArray
<
TInt
> &
|
aHiddenViews
|
|
)
|
|
Fills the list of views hidden by a particular plugin
GetPluginSettingsL(TUid, RPointerArray< CAknSettingItem > &)
Gets settings from the given plugin. NOTE: The contents of the array are owned by the caller - caller must guarantee to call ResetAndDestroy on the array in all cases.
GetReplacePluginViewIdL(TUid)
IMPORT_C
TUid
|
GetReplacePluginViewIdL
|
(
|
TUid
|
aHiddenViewId
|
)
|
|
Returns plugin view uid that is hidking the input view
HandleNotification(const TCalenNotification)
void
|
HandleNotification
|
(
|
const
TCalenNotification
|
aNotification
|
)
|
|
Parameters
const
TCalenNotification
aNotification
|
|
HandleNotificationL(TCalenNotification)
void
|
HandleNotificationL
|
(
|
TCalenNotification
|
aNotification
|
)
|
[private]
|
Parameters
TCalenNotification
aNotification
|
|
HiddenView(TUid)
IMPORT_C
TBool
|
HiddenView
|
(
|
TUid
|
aHiddenView
|
)
|
const
|
Returns ETrue if a view has been hidden by a plugin,
Infobar(const TRect &)
Gets a info bar from the appropriate customisation.
Infobar()
IMPORT_C const
TDesC
&
|
Infobar
|
(
|
)
|
|
Gets a info bar from the appropriate customisation.
IsViewRomBased(TUid)
IMPORT_C
TBool
|
IsViewRomBased
|
(
|
TUid
|
aViewUid
|
)
|
const
|
Returns if a view is provided by a rom based plugin
LoadPluginL(TUid)
void
|
LoadPluginL
|
(
|
TUid
|
aPluginUid
|
)
|
[private]
|
LoadPluginsBasedOnVariantL()
void
|
LoadPluginsBasedOnVariantL
|
(
|
)
|
[private]
|
NewL(MCalenServicesFactory &, CCalenPluginStatusArray &, MCalenServices &, RPointerArray< CCalenViewInfo > &)
OfferMenuPaneL(TInt, CEikMenuPane *)
Offers the menu pane to customisations for modification.
OfferMenuPaneToPluginsL(TInt, CEikMenuPane *)
void
|
OfferMenuPaneToPluginsL
|
(
|
TInt
|
aResourceId,
|
|
CEikMenuPane
*
|
aMenuPane
|
|
)
|
[private]
|
PluginAvailabilityFinder(const TUid *, const TCalenPluginAvailability &)
PluginInfoArray()
Returns a const reference to the plugin information array.
PluginInfoFinder(const TUid *, const CImplementationInformation &)
PreviewPane(TRect &)
Gets a preview pane from the appropriate customisation.
SetPluginAvailabilityL(TUid, TBool)
IMPORT_C void
|
SetPluginAvailabilityL
|
(
|
TUid
|
aPluginUid,
|
|
TBool
|
aEnabled
|
|
)
|
|
Disables the given plugin. Does nothing if the plugin can't be found.
UnloadPluginsL(const RArray< TUid > &)
IMPORT_C void
|
UnloadPluginsL
|
(
|
const
RArray
<
TUid
> &
|
aPlugins
|
)
|
|
When a plugin is disabled it can not be unloaded until any views etc it has provided have been deleted. This function is called when it is safe to unload the plugin.
Views()
Returns a const reference to the views array.
Member Type Definitions Documentation
Typedef CCalenPluginStatusArray
Member Data Documentation
RArray< TUid > iActivePlugins
RArray< TUid > iDefferedUnloadPluginList
RArray
<
TUid
>
|
iDefferedUnloadPluginList
|
[private]
|
CCalenGlobalData * iGlobalData
CCalenGlobalData *
|
iGlobalData
|
[private]
|
RArray< TInt > iHiddenViews
TUid
iInfoBarProviderUid
TUid
|
iInfoBarProviderUid
|
[private]
|
TPtrC
iInfoBarStr
TPtrC
|
iInfoBarStr
|
[private]
|
RImplInfoPtrArray
iPluginInfo
CCalenPluginStatusArray & iPluginSettingsStatus
RPointerArray< CPluginInfo > iPlugins
TBool
iPluginsEnabledDisabled
TBool
|
iPluginsEnabledDisabled
|
[private]
|
TUid
iPreviewPaneProviderUid
TUid
|
iPreviewPaneProviderUid
|
[private]
|
RArray< TUid > iRomBasedPlugins
MCalenServices & iServices
MCalenServicesFactory & iServicesFactory
MCalenServicesFactory &
|
iServicesFactory
|
[private]
|
CCalenSetting * iSetting
CCalenSetting *
|
iSetting
|
[private]
|
TLinearOrder< CCalenViewInfo > iSortOrder
RPointerArray< CCalenViewInfo > & iViewInfoArray
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.