CLocodServicePlugin Class Reference

class CLocodServicePlugin : public CBase

Service Plugin base class

This is the base class from which service plugins inherit.

When a service plugin is constructed, it should not start any service by default. A service is started on demand when the bearer is available.

.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CLocodServicePlugin(TLocodServicePluginParams &)

CLocodServicePlugin(TLocodServicePluginParams &aParams)[protected, inline]

Parameters

TLocodServicePluginParams & aParams

~CLocodServicePlugin()

~CLocodServicePlugin()[inline, virtual]

Member Functions Documentation

ImplementationUid()

TUid ImplementationUid()const [inline]

ManageService(TLocodBearer, TBool)

voidManageService(TLocodBeareraBearer,
TBoolaStatus
)[pure virtual]

Tell service plugin which service should be enabled or disabled according to specified bearer and its status.

On completion, the plugin should call MLocodServicePluginObserver::ManageServiceCompleted() to inform the result.

Since
S60 v3.2

Parameters

TLocodBearer aBearerthe bearer identification
TBool aStatusthe status of this bearer, ETrue if it is available; EFalse otherwise.

NewL(TLocodServicePluginParams &)

CLocodServicePlugin *NewL(TLocodServicePluginParams &aParams)[static, inline]

Parameters

TLocodServicePluginParams & aParams

Observer()

MLocodServicePluginObserver &Observer()const [protected, inline]

Gets the observer interface object associated with this plugin

Since
S60 v3.2

Member Data Documentation

const TUid iImplementationUid

const TUidiImplementationUid[private]

Implementation UID of the concrete instance.

TUid iInstanceUid

TUid iInstanceUid[private]

UID set by ECOM when the instance is created. Used when the instance is destroyed.

MLocodServicePluginObserver & iObserver

MLocodServicePluginObserver &iObserver[private]

Holds the observer object which will be notified when the operations complete Not own.