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.

ServiceHandler.lib
Since
Series 60 2.6
CLiwServiceIfMenu

Inherits from

Constructor & Destructor Documentation

~CLiwServiceIfBase()

IMPORT_C~CLiwServiceIfBase()[virtual]

Destructor.

Member Functions Documentation

AddCriteria(CLiwCriteriaItem *)

voidAddCriteria(CLiwCriteriaItem *aItem)[private]

Parameters

CLiwCriteriaItem * aItem

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[protected, virtual]

Parameters

TUid aInterface

HandleServiceCmdL(const TInt &, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)

voidHandleServiceCmdL(const TInt &aCmdId,
const CLiwGenericParamList &aInParamList,
CLiwGenericParamList &aOutParamList,
TUintaCmdOptions = 0,
const MLiwNotifyCallback *aCallback = NULL
)[pure virtual]

Executes generic service commands included in criteria.

leave
KErrArgument Callback is missing when required.
leave
KErrNotSupported No provider supports service.

Parameters

const TInt & aCmdIdCommand to be executed.
const CLiwGenericParamList & aInParamListInput parameters, can be an empty list.
CLiwGenericParamList & aOutParamListOutput parameters, can be an empty list.
TUint aCmdOptions = 0Options for the command, see KLiwOpt* in LiwCommon.hrh.
const MLiwNotifyCallback * aCallback = NULLCallback for asynchronous command handling, parameter checking, etc.

HandleServiceCmdL(const TDesC8 &, const CLiwGenericParamList &, CLiwGenericParamList &, TUint, const MLiwNotifyCallback *)

voidHandleServiceCmdL(const TDesC8 &aCmdName,
const CLiwGenericParamList &aInParamList,
CLiwGenericParamList &aOutParamList,
TUintaCmdOptions = 0,
const MLiwNotifyCallback *aCallback = NULL
)[inline]

Executes generic service command

leave
KErrArgument Callback is missing when required.
leave
KErrNotSupported No provider supports service.

Parameters

const TDesC8 & aCmdNameThe service command to be executed.
const CLiwGenericParamList & aInParamListInput parameters, can be an empty list.
CLiwGenericParamList & aOutParamListOutput parameters, can be an empty list.
TUint aCmdOptions = 0Options for the command, see KLiwOpt* in LiwCommon.hrh.
const MLiwNotifyCallback * aCallback = NULLCallback for asynchronous command handling, parameter checking, etc.

HasCriteria(CLiwCriteriaItem &)

TBool HasCriteria(CLiwCriteriaItem &aItem)const [private]

Parameters

CLiwCriteriaItem & aItem

ImplementationUid()

TUid ImplementationUid()const [private]

InitialiseL(MLiwNotifyCallback &, const RCriteriaArray &)

voidInitialiseL(MLiwNotifyCallback &aFrameworkCallback,
const RCriteriaArray &aInterest
)[pure virtual]

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 & aFrameworkCallbackFramework provided callback for provider to send events to framework.
const RCriteriaArray & aInterestList of criteria items which invoked the provider.

Match(CLiwCriteriaItem *)

TBool Match(CLiwCriteriaItem *aItem)[private]

Parameters

CLiwCriteriaItem * aItem

SetDtorKeyId(TUid)

voidSetDtorKeyId(TUidaDtorKeyId)[private]

Parameters

TUid aDtorKeyId

SetImplementationUid(TUid)

voidSetImplementationUid(TUidaUid)[private]

Parameters

TUid aUid

Member Data Documentation

RCriteriaArray iCriterias

RCriteriaArray iCriterias[private]

TUid iDtorKeyId

TUid iDtorKeyId[private]

TUid iImplUid

TUid iImplUid[private]

TAny * iReserved

TAny *iReserved[private]