|
||
#include <cmsvtechnologytypedefaultmtmsettings.h>
msgs.lib
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 heap.
CMsvTechnologyTypeDefaultMtmSettings
- Stores default MTM settings for a technology type to the Central Repository.
Defined in CMsvTechnologyTypeDefaultMtmSettings
:
DefaultMtm(TUid,TUid &)const
Get the default MTM.LoadSettingsL()
Load the default MTM settings from the central repository.NewL(RFs &)
NewL factory function to create a CMsvTechnologyTypeDefaultMtmSettings object.RemoveDefaultMtm(TUid)
Removes the default MTM.SaveSettingsL()
Save the default MTM settings to the central repository.SetDefaultMtmL(TUid,TUid)
Set the default MTM.~CMsvTechnologyTypeDefaultMtmSettings()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static 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 CMsvTechnologyTypeDefaultMtmSettings::DefaultMtm(TUid,TUid &)const
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.