CObserverRegistry Class Reference

class CObserverRegistry : public CMtmDllRegistry

Base class for client, UI and UI data MTM registries.

It implements the session observer interface to update the registry information when MTM groups are installed or uninstalled.

Inherits from

Constructor & Destructor Documentation

CObserverRegistry(CMsvSession &, TUid, TTimeIntervalMicroSeconds32)

IMPORT_CCObserverRegistry(CMsvSession &aMsvSession,
TUidaDllTypeUid,
TTimeIntervalMicroSeconds32aTimeoutMicroSeconds32
)[protected]

Constructor.

Parameters

CMsvSession & aMsvSessionMessage server session
TUid aDllTypeUidMTM component type UID, e.g. KUidMtmClientComponent to handle client MTMs
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32Time to wait before unloading MTM DLLs

~CObserverRegistry()

IMPORT_C~CObserverRegistry()

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

Second-phase constructor.

HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)

IMPORT_C voidHandleSessionEventL(TMsvSessionEventaEvent,
TAny *aArg1,
TAny *aArg2,
TAny *aArg3
)[virtual]

Implements the session observer interface to update the registry information when MTM groups are installed or uninstalled.

MMsvSessionObserver::HandleSessionEventL()

Parameters

TMsvSessionEvent aEventEvent type
TAny * aArg1Event type-specific argument value (unused)
TAny * aArg2Event type-specific argument value
TAny * aArg3Event type-specific argument value (unused)

Member Data Documentation

TBool iIsAdded

TBool iIsAdded[protected]

CMsvSession & iMsvSession

CMsvSession &iMsvSession[protected]