CCchImpl Class Reference

class CCchImpl : public CActive

Class for basic cch functionality, getting services

   ?good_class_usage_example(s)

cch

Inherits from

Constructor & Destructor Documentation

CCchImpl()

CCchImpl()[private]

The constructor

~CCchImpl()

~CCchImpl()

Destructor.

Member Functions Documentation

CchClient()

RCCHClient &CchClient()

Returns the RCCHClient

CchUiApi()

MCchUi &CchUiApi()const

For getting cchui api.

ConnectivityDialogsAllowed()

TBool ConnectivityDialogsAllowed()const

Returns ETrue if connectivity dialogs are allowed in service enabling.

ConstructL(CCch &)

voidConstructL(CCch &aCch)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CCch & aCch

DoCancel()

voidDoCancel()[private, virtual]

FindService(TInt)

TInt FindService(TIntaServiceId)const

Finds out if corresponding Cch service exists already

Parameters

TInt aServiceIdService Id

GetCchServicesL(TInt, TCCHSubserviceType, CArrayFixFlat< TCCHService > &)

TInt GetCchServicesL(TIntaServiceId,
TCCHSubserviceTypeaType,
CArrayFixFlat< TCCHService > &aServices
)[private]

Queries the services from CCH client.

Parameters

TInt aServiceIdIf of the service
TCCHSubserviceType aTypeType of the service
CArrayFixFlat< TCCHService > & aServicesArray of CCchServices to be filled

GetService(TInt)

CCchService *GetService(TIntaId)

Returns one service

Parameters

TInt aIdService id

GetServiceIds(RArray< TInt > &)

TInt GetServiceIds(RArray< TInt > &aIds)

Returns service ids of all configured services

Parameters

RArray< TInt > & aIdsArray of TInt to be filled with service ids

GetServiceIdsL(RArray< TInt > &)

voidGetServiceIdsL(RArray< TInt > &aIds)[private]

Returns service ids of all configured services, leave function

Parameters

RArray< TInt > & aIdsArray of TInt to be filled with service ids

GetServiceL(TInt)

CCchServiceImpl *GetServiceL(TIntaId)[private]

Queries a service from CCH Client by id.

Parameters

TInt aIdThe id of the queried service

GetServices(TCCHSubserviceType, RPointerArray< CCchService > &)

TInt GetServices(TCCHSubserviceTypeaType,
RPointerArray< CCchService > &aServices
)

Returns services fulfilling the search criteria

Parameters

TCCHSubserviceType aTypeService type
RPointerArray< CCchService > & aServicesArray of CCchService to be filled

GetServicesL(TCCHSubserviceType, RPointerArray< CCchService > &)

voidGetServicesL(TCCHSubserviceTypeaType,
RPointerArray< CCchService > &aServices
)[private]

Queries the services from CCH client.

Parameters

TCCHSubserviceType aTypeType of the service
RPointerArray< CCchService > & aServicesArray of CCchServices to be filled

NewL(CCch &)

CCchImpl *NewL(CCch &aCch)[static]

Two-phased constructor.

Parameters

CCch & aCch

NewLC(CCch &)

CCchImpl *NewLC(CCch &aCch)[static]

Two-phased constructor.

Parameters

CCch & aCch

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]

SetConnectivityDialogsAllowed(TBool)

voidSetConnectivityDialogsAllowed(TBoolaConnectivityDialogsAllowed)

For allowing/disallowing connectivity dialogs showing in service enabling.

Parameters

TBool aConnectivityDialogsAllowedBoolean to set connectivity dialogs allowed/disallowed

Member Data Documentation

RCCHClient iCchClient

RCCHClient iCchClient[private]

Own: CCH Client

RCCHServer iCchServer

RCCHServer iCchServer[private]

Own: CCH Server

RServiceImplArray iCchServiceImpls

RServiceImplArray iCchServiceImpls[private]

array the for new cch services

CCchUiPrivateApi * iCchUi

CCchUiPrivateApi *iCchUi[private]

Own: Cch UI handling interface

TBool iConnectivityDialogsAllowed

TBool iConnectivityDialogsAllowed[private]

Flag which indicates if cchui connectivity dialogs are used when enabling service.