CLiwServiceIfBase Class Reference
class CLiwServiceIfBase : public CBase |
This is the base service interface to access providers that offer base services.
This interface needs to be implemented by all the LIW providers. Base service providers should inherit from this class directly. Menu service providers should inherit from CLiwServiceIfMenu.
Constructor & Destructor Documentation
~CLiwServiceIfBase()
IMPORT_C | ~CLiwServiceIfBase | ( | ) | [virtual] |
Member Functions Documentation
AddCriteria(CLiwCriteriaItem *)
ExtensionInterface(TUid)
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [protected, virtual] |
HandleServiceCmdL(const TInt &, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)
Executes generic service commands included in criteria.
-
leave
- KErrArgument Callback is missing when required.
-
leave
- KErrNotSupported No provider supports service.
Parameters
const TInt & aCmdId | Command to be executed. |
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 KLiwOpt* in LiwCommon.hrh. |
const MLiwNotifyCallback * aCallback = NULL | Callback for asynchronous command handling, parameter checking, etc. |
HandleServiceCmdL(const TDesC8 &, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)
Executes generic service command
-
leave
- KErrArgument Callback is missing when required.
-
leave
- KErrNotSupported No provider supports service.
Parameters
const TDesC8 & aCmdName | The service command to be executed. |
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 KLiwOpt* in LiwCommon.hrh. |
const MLiwNotifyCallback * aCallback = NULL | Callback for asynchronous command handling, parameter checking, etc. |
HasCriteria(CLiwCriteriaItem &)
ImplementationUid()
TUid
| ImplementationUid | ( | ) | const [private] |
InitialiseL(MLiwNotifyCallback &, const RCriteriaArray &)
Called by the LIW framework to initialise provider with necessary information from the Service Handler. This method is called when the consumer makes the attach operation.
Parameters
MLiwNotifyCallback & aFrameworkCallback | Framework provided callback for provider to send events to framework. |
const RCriteriaArray & aInterest | List of criteria items which invoked the provider. |
Match(CLiwCriteriaItem *)
SetDtorKeyId(TUid)
void | SetDtorKeyId | ( | TUid | aDtorKeyId | ) | [private] |
SetImplementationUid(TUid)
void | SetImplementationUid | ( | TUid | aUid | ) | [private] |
Member Data Documentation
RCriteriaArray
iCriterias
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.