Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: MTCLREG.H
Link against: msgs.lib
Link against: msgs_autoshutdown.lib

Class CObserverRegistry

class CObserverRegistry : public CMtmDllRegistry, public MMsvSessionObserver;

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.

Derivation

Members

Defined in CObserverRegistry:
CObserverRegistry(), ConstructL(), HandleSessionEventL(), iIsAdded, iMsvSession, ~CObserverRegistry()

Inherited from MMsvSessionObserver:
EMsvCloseSession, EMsvCorruptedIndexRebuilding, EMsvCorruptedIndexRebuilt, EMsvEntriesChanged, EMsvEntriesCreated, EMsvEntriesDeleted, EMsvEntriesMoved, EMsvGeneralError, EMsvMediaAvailable, EMsvMediaChanged, EMsvMediaIncorrect, EMsvMediaUnavailable, EMsvMtmGroupDeInstalled, EMsvMtmGroupInstalled, EMsvServerFailedToStart, EMsvServerReady, EMsvServerTerminated, TMsvSessionEvent


Construction and destruction


~CObserverRegistry()

IMPORT_C ~CObserverRegistry();

Description

Destructor.


CObserverRegistry()

protected: IMPORT_C CObserverRegistry(CMsvSession &aMsvSession, TUid aDllTypeUid, TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32);

Description

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


ConstructL()

protected: IMPORT_C void ConstructL();

Description

Second-phase constructor.

[Top]


Member functions


HandleSessionEventL()

virtual IMPORT_C void HandleSessionEventL(TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3);

Description

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

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)

See also:

[Top]


Member data


iMsvSession

protected: CMsvSession & iMsvSession;

Description


iIsAdded

protected: TBool iIsAdded;

Description