CObserverRegistry Class Reference

#include <mw/mtclreg.h>

class CObserverRegistry : public CMtmDllRegistry, public MMsvSessionObserver, public CMtmDllRegistry, public MMsvSessionObserver, public CMtmDllRegistry, public MMsvSessionObserver

Detailed Description

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.

Member Attribute Documentation

iIsAdded

TBool iIsAdded[protected]

iMsvSession

CMsvSession &iMsvSession[protected]

Constructor & Destructor Documentation

CObserverRegistry ( CMsvSession &, TUid, TTimeIntervalMicroSeconds32 )

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

Constructor.

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

~CObserverRegistry ( )

IMPORT_C~CObserverRegistry()

Destructor.

Member Function 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.

See also: MMsvSessionObserver::HandleSessionEventL()

Parameters
aEventEvent type
aArg1Event type-specific argument value (unused)
aArg2Event type-specific argument value
aArg3Event type-specific argument value (unused)