|
|
|
|
Location:
cmsvtechnologytypedefaultmtmsettings.h
Link against: msgs.lib
Link against: msgs_autoshutdown.lib
class CMsvTechnologyTypeDefaultMtmSettings : public CBase;
Stores default MTM settings for a technology type to the Central Repository.
CBase - Base class for all classes to be instantiated on the heapCMsvTechnologyTypeDefaultMtmSettings - Stores default MTM settings for a technology type to the Central RepositoryDefined in CMsvTechnologyTypeDefaultMtmSettings:
DefaultMtm(), LoadSettingsL(), NewL(), RemoveDefaultMtm(), SaveSettingsL(), SetDefaultMtmL(), ~CMsvTechnologyTypeDefaultMtmSettings()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CMsvTechnologyTypeDefaultMtmSettings *NewL(RFs &aFs);
NewL factory function to create a CMsvTechnologyTypeDefaultMtmSettings object.
|
|
IMPORT_C TInt DefaultMtm(TUid aTechnologyTypeUid, TUid &aMtmUid) const;
Get the default MTM.
This function returns the UID of the default MTM that is set for the specified technology type.
|
|
IMPORT_C void SetDefaultMtmL(TUid aTechnologyTypeUid, TUid aMtmUid);
Set the default MTM.
This function sets the default MTM for the specified technology type to the specified MTM UID.
|
|
IMPORT_C TInt RemoveDefaultMtm(TUid aTechnologyTypeUid);
Removes the default MTM.
This function removes the UID that is set as default MTM from the list. If DefaultMtm() is called after this function, KErrNotFound will be returned
|
|
IMPORT_C void LoadSettingsL();
Load the default MTM settings from the central repository.
This function loads the list of default MTMs that is stored in the central repository. The list is first emptied.
IMPORT_C void SaveSettingsL();
Save the default MTM settings to the central repository.
This function saves the list of default MTMs that is stored in the central repository. Entries that are set to delete will be removed first. The function will leave with error code KErrLocked if another save is in progress.