Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from MMsvSessionObserver:


Construction and destruction


~CObserverRegistry()

IMPORT_C ~CObserverRegistry();

Description

Destructor.


CObserverRegistry(CMsvSession &,TUid,TTimeIntervalMicroSeconds32)

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(TMsvSessionEvent,TAny *,TAny *,TAny *)

IMPORT_C virtual 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

MMsvSessionObserver::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