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 &)

void ConstructL ( CCch & aCch ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CCch & aCch

DoCancel()

void DoCancel ( ) [private, virtual]

FindService(TInt)

TInt FindService ( TInt aServiceId ) const

Finds out if corresponding Cch service exists already

Parameters

TInt aServiceId Service Id

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

TInt GetCchServicesL ( TInt aServiceId,
TCCHSubserviceType aType,
CArrayFixFlat < TCCHService > & aServices
) [private]

Queries the services from CCH client.

Parameters

TInt aServiceId If of the service
TCCHSubserviceType aType Type of the service
CArrayFixFlat < TCCHService > & aServices Array of CCchServices to be filled

GetService(TInt)

CCchService * GetService ( TInt aId )

Returns one service

Parameters

TInt aId Service id

GetServiceIds(RArray< TInt > &)

TInt GetServiceIds ( RArray < TInt > & aIds )

Returns service ids of all configured services

Parameters

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

GetServiceIdsL(RArray< TInt > &)

void GetServiceIdsL ( RArray < TInt > & aIds ) [private]

Returns service ids of all configured services, leave function

Parameters

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

GetServiceL(TInt)

CCchServiceImpl * GetServiceL ( TInt aId ) [private]

Queries a service from CCH Client by id.

Parameters

TInt aId The id of the queried service

GetServices(TCCHSubserviceType, RPointerArray< CCchService > &)

TInt GetServices ( TCCHSubserviceType aType,
RPointerArray < CCchService > & aServices
)

Returns services fulfilling the search criteria

Parameters

TCCHSubserviceType aType Service type
RPointerArray < CCchService > & aServices Array of CCchService to be filled

GetServicesL(TCCHSubserviceType, RPointerArray< CCchService > &)

void GetServicesL ( TCCHSubserviceType aType,
RPointerArray < CCchService > & aServices
) [private]

Queries the services from CCH client.

Parameters

TCCHSubserviceType aType Type of the service
RPointerArray < CCchService > & aServices Array 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 ( TInt aError ) [private, virtual]

Parameters

TInt aError

RunL()

void RunL ( ) [private, virtual]

SetConnectivityDialogsAllowed(TBool)

void SetConnectivityDialogsAllowed ( TBool aConnectivityDialogsAllowed )

For allowing/disallowing connectivity dialogs showing in service enabling.

Parameters

TBool aConnectivityDialogsAllowed Boolean 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.