CLiwServiceIfMenu Class Reference
class CLiwServiceIfMenu : public CLiwServiceIfBase
|
This is the menu service interface to access providers that offer menu services.
Menu service providers should inherit this class. Providers offering only base services should inherit
CLiwServiceIfBase
instead.
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CLiwServiceIfBase::HandleServiceCmdL(const TDesC8 &,const CLiwGenericParamList &,CLiwGenericParamList &,TUint,const MLiwNotifyCallback *)
|
|
CLiwServiceIfBase::HandleServiceCmdL(const TInt &,const CLiwGenericParamList &,CLiwGenericParamList &,TUint,const MLiwNotifyCallback *)
|
|
CLiwServiceIfBase::InitialiseL(MLiwNotifyCallback &,const RCriteriaArray &)
|
|
CLiwServiceIfBase::~CLiwServiceIfBase()
|
Constructor & Destructor Documentation
~CLiwServiceIfMenu()
IMPORT_C
|
~CLiwServiceIfMenu
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ExtensionInterface(TUid)
IMPORT_C void *
|
ExtensionInterface
|
(
|
TUid
|
aInterface
|
)
|
[protected, virtual]
|
HandleMenuCmdHookL(CLiwMenuPane *, TInt, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)
HandleMenuCmdL(TInt, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)
Provider should implement this method to handle a menu command. Called by the Service Handler when a consumer calls ExecuteMenuCmdL().
-
leave
-
KErrNotSupported Callback is not supported.
Parameters
TInt
aMenuCmdId
|
Original provider specific ommand ID for the menu command. Defined in the provider's menu item resource.
|
const
CLiwGenericParamList
& aInParamList
|
Input parameters, can be an empty list.
|
CLiwGenericParamList
& aOutParamList
|
Output parameters, can be an empty list.
|
TUint
aCmdOptions = 0
|
Options for the command, see KLiwCmdOpt* in LiwCommon.hrh.
|
const
MLiwNotifyCallback
* aCallback = NULL
|
Callback if asynchronous command handling is wanted by consumer. The provider may or may not support this. A provider should leave with KErrNotSupported, if not.
|
InitializeMenuPaneHookL(CLiwMenuPane *, TInt, TInt, const CLiwGenericParamList &)
InitializeMenuPaneL(CLiwMenuPane &, TInt, TInt, const CLiwGenericParamList &)
Provider should implement this method to initialise a menu pane by adding provider specific menu items. The LIW framework gives the parameters to be used in the addition process.
Parameters
CLiwMenuPane
& aMenuPane
|
Menu pane handle.
|
TInt
aIndex
|
The position of the item where to add menu items.
|
TInt
aCascadeId
|
ID of cascade menu item.
|
const
CLiwGenericParamList
& aInParamList
|
Input parameter list for provider's parameter checking.
|
MenuPane()
Returns current LIW menu pane for this menu service provider.
Member Data Documentation
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.