|
|
|
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(CMsvSession &,TTimeIntervalMicroSeconds32)Gets a CMtmUiDataRegistry object.NewMtmUiDataLayerL(const TUid &)Creates a UI Data MTM object for the MTM specified by aMtmTypeUid.~CMtmUiDataRegistry()Inherited from CObserverRegistry:
CObserverRegistry(CMsvSession &,TUid,TTimeIntervalMicroSeconds32)Constructor.ConstructL()Second-phase constructor. HandleSessionEventL(TMsvSessionEvent,TAny *,TAny *,TAny *)Implements the session observer interface to update the registry information whe...iIsAddediMsvSessionInherited from MMsvSessionObserver:
EMsvCloseSessionThe client should immediately close the session with the Message Server. EMsvCorruptedIndexRebuildingThe Message Server has started to rebuild its index after it has been corrupted.EMsvCorruptedIndexRebuiltThe Message Server index had been corrupted and had to be rebuilt.EMsvEntriesChangedOne or more index entries have been changed.EMsvEntriesCreatedOne or more entries have been created.EMsvEntriesDeletedOne or more entries have been deleted.EMsvEntriesMovedOne or more entries have been moved.EMsvGeneralErrorSomething has happening in the server, but this client was unable to retrieve th...EMsvMediaAvailableThe disk containing the Message Store is available again.EMsvMediaChangedThe Message Server has automatically changed the index location to use the inter...EMsvMediaIncorrectAn incorrect disk is inserted.EMsvMediaUnavailableThe media (disk) containing the Message Server index has been removed.EMsvMtmGroupDeInstalledA MTM has been uninstalled.EMsvMtmGroupInstalledA new MTM has been installed.EMsvServerFailedToStartReceived after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerReadyReceived after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerTerminatedThe Message Server has been terminated.TMsvSessionEventSession event type.IMPORT_C static 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.
|
|
|