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_C CObserverRegistry ( CMsvSession & aMsvSession,
TUid aDllTypeUid,
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32
) [protected]

Constructor.

Parameters

CMsvSession & aMsvSession Message server session
TUid aDllTypeUid MTM component type UID, e.g. KUidMtmClientComponent to handle client MTMs
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 Time to wait before unloading MTM DLLs

~CObserverRegistry()

IMPORT_C ~CObserverRegistry ( )

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

Second-phase constructor.

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

IMPORT_C void HandleSessionEventL ( TMsvSessionEvent aEvent,
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 aEvent Event type
TAny * aArg1 Event type-specific argument value (unused)
TAny * aArg2 Event type-specific argument value
TAny * aArg3 Event type-specific argument value (unused)

Member Data Documentation

TBool iIsAdded

TBool iIsAdded [protected]

CMsvSession & iMsvSession

CMsvSession & iMsvSession [protected]