Location:
MTUDREG.H
Link against: mtur.lib
class CMtmUiDataRegistry : public CObserverRegistry;
Accesses the UI Data MTM registry.
This registry holds details of the all the UI Data MTMs currently available on the system. Message client applications use this class to get a CBaseMtmUiData-derived object by which to access UI Data MTM functionality.
Note that the base class CMtmDllRegistry
provides functions for discovering what MTMs are present in the registry.
MMsvSessionObserver
- Provides the interface for notification of events from a Message Server session
CMtmDllRegistry
- No description.
CObserverRegistry
- Base class for client, UI and UI data MTM registries
CMtmUiDataRegistry
- Accesses the UI Data MTM registry
Defined in CMtmUiDataRegistry
:
NewL()
, NewMtmUiDataLayerL()
, ~CMtmUiDataRegistry()
Inherited from CObserverRegistry
:
ConstructL()
,
HandleSessionEventL()
,
iIsAdded
,
iMsvSession
Inherited from MMsvSessionObserver
:
EMsvCloseSession
,
EMsvCorruptedIndexRebuilding
,
EMsvCorruptedIndexRebuilt
,
EMsvEntriesChanged
,
EMsvEntriesCreated
,
EMsvEntriesDeleted
,
EMsvEntriesMoved
,
EMsvGeneralError
,
EMsvMediaAvailable
,
EMsvMediaChanged
,
EMsvMediaIncorrect
,
EMsvMediaUnavailable
,
EMsvMtmGroupDeInstalled
,
EMsvMtmGroupInstalled
,
EMsvServerFailedToStart
,
EMsvServerReady
,
EMsvServerTerminated
,
TMsvSessionEvent
static IMPORT_C CMtmUiDataRegistry *NewL(CMsvSession &aMsvSession, TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32=TTimeIntervalMicroSeconds32(30000000));
Gets a CMtmUiDataRegistry object.
The client should delete this object when it is no longer required.
The registry keeps a reference count of the number of instances of each MTM in use. When that reference count falls to zero, the DLL that provides the MTM is unloaded. However, this is not done immediately, but only after the time specified in aTimeoutMicroSeconds32. This increases efficiency in cases where the DLL is required again shortly.
|
|
|
IMPORT_C CBaseMtmUiData *NewMtmUiDataLayerL(const TUid &aMtmTypeUid);
Creates a UI Data MTM object for the MTM specified by aMtmTypeUid.
The client should delete the returned object when it is no longer required.
|
|
|