CAiwServiceIfBase Class Reference

class CAiwServiceIfBase : public CBase

This is the base service interface to access providers that offer base services.

This interface needs to be implemented by all the AIW providers. Base service providers should inherit from this class directly. Menu service providers should inherit from CAiwServiceIfMenu .

ServiceHandler.lib
Since
Series 60 2.6
CAiwServiceIfMenu

Inherits from

Constructor & Destructor Documentation

~CAiwServiceIfBase()

IMPORT_C ~CAiwServiceIfBase ( ) [virtual]

Destructor.

Member Functions Documentation

AddCriteria(CAiwCriteriaItem *)

void AddCriteria ( CAiwCriteriaItem * aItem ) [private]

Parameters

CAiwCriteriaItem * aItem

ExtensionInterface(TUid)

IMPORT_C void * ExtensionInterface ( TUid aInterface ) [protected, virtual]

Parameters

TUid aInterface

HandleServiceCmdL(const TInt &, const CAiwGenericParamList &, CAiwGenericParamList &, TUint, const MAiwNotifyCallback *)

void HandleServiceCmdL ( const TInt & aCmdId,
const CAiwGenericParamList & aInParamList,
CAiwGenericParamList & aOutParamList,
TUint aCmdOptions = 0,
const MAiwNotifyCallback * 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 & aCmdId Command to be executed.
const CAiwGenericParamList & aInParamList Input parameters, can be an empty list.
CAiwGenericParamList & aOutParamList Output parameters, can be an empty list.
TUint aCmdOptions = 0 Options for the command, see KAiwOpt* in AiwCommon.hrh.
const MAiwNotifyCallback * aCallback = NULL Callback for asynchronous command handling, parameter checking, etc.

HasCriteria(CAiwCriteriaItem &)

TBool HasCriteria ( CAiwCriteriaItem & aItem ) const [private]

Parameters

CAiwCriteriaItem & aItem

ImplementationUid()

TUid ImplementationUid ( ) const [private]

InitialiseL(MAiwNotifyCallback &, const RCriteriaArray &)

void InitialiseL ( MAiwNotifyCallback & aFrameworkCallback,
const RCriteriaArray & aInterest
) [pure virtual]

Called by the AIW framework to initialise provider with necessary information from the Service Handler. This method is called when the consumer makes the attach operation.

Parameters

MAiwNotifyCallback & aFrameworkCallback Framework provided callback for provider to send events to framework.
const RCriteriaArray & aInterest List of criteria items which invoked the provider.

Match(CAiwCriteriaItem *)

TBool Match ( CAiwCriteriaItem * aItem ) [private]

Parameters

CAiwCriteriaItem * aItem

SetDtorKeyId(TUid)

void SetDtorKeyId ( TUid aDtorKeyId ) [private]

Parameters

TUid aDtorKeyId

SetImplementationUid(TUid)

void SetImplementationUid ( TUid aUid ) [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]