CMTMTxtSettings Class Reference

List of all members.

Public Member Functions

IMPORT_C void LoadSettingsL (TMsvId aServiceId, TMTMTxtSettings &aSettings) const
IMPORT_C void SaveSettingsL (TMsvId aServiceId, const TMTMTxtSettings &aSettings)
IMPORT_C void DeleteSettingsL (TMsvId aServiceId)
IMPORT_C TMsvId DefaultServiceL () const
IMPORT_C void SetDefaultServiceL (TMsvId aService)
IMPORT_C void DeleteDefaultServiceSettingL ()
IMPORT_C void LoadSettingsL (TMsvId aServiceId, TMTMTxtSettings &aSettings) const
IMPORT_C void SaveSettingsL (TMsvId aServiceId, const TMTMTxtSettings &aSettings)
IMPORT_C void DeleteSettingsL (TMsvId aServiceId)
IMPORT_C TMsvId DefaultServiceL () const
IMPORT_C void SetDefaultServiceL (TMsvId aService)
IMPORT_C void DeleteDefaultServiceSettingL ()
IMPORT_C void LoadSettingsL (TMsvId aServiceId, TMTMTxtSettings &aSettings) const
IMPORT_C void SaveSettingsL (TMsvId aServiceId, const TMTMTxtSettings &aSettings)
IMPORT_C void DeleteSettingsL (TMsvId aServiceId)
IMPORT_C TMsvId DefaultServiceL () const
IMPORT_C void SetDefaultServiceL (TMsvId aService)
IMPORT_C void DeleteDefaultServiceSettingL ()

Static Public Member Functions

static IMPORT_C CMTMTxtSettingsNewL ()
static IMPORT_C CMTMTxtSettingsNewL ()
static IMPORT_C CMTMTxtSettingsNewL ()

Detailed Description

From 9.0, this class is used to store/load settings into the central repository. It also saves/loads a setting to identify a default textmtm service.

Definition at line 149 of file txut.h.


Member Function Documentation

EXPORT_C void CMTMTxtSettings::LoadSettingsL ( TMsvId  aServiceId,
TMTMTxtSettings aSettings 
) const

Loads settings for textmtm service.

Parameters:
aServiceId ID of service entry
aSettings Service settings

Definition at line 58 of file txut.cpp.

EXPORT_C void CMTMTxtSettings::SaveSettingsL ( TMsvId  aServiceId,
const TMTMTxtSettings aSettings 
)

Stores settings for textmtm service.

Parameters:
aServiceId ID of service entry
aSettings Service settings

Definition at line 73 of file txut.cpp.

EXPORT_C TMsvId CMTMTxtSettings::DefaultServiceL (  )  const

Gets the default textmtm service.

Returns:
The default service

KErrNotFound If default service setting does not exist.

Definition at line 113 of file txut.cpp.

EXPORT_C void CMTMTxtSettings::SetDefaultServiceL ( TMsvId  aService  ) 

Sets the default textmtm service.

Parameters:
aService The default service

Definition at line 101 of file txut.cpp.

EXPORT_C void CMTMTxtSettings::DeleteDefaultServiceSettingL (  ) 

Remove the default service setting.

Definition at line 124 of file txut.cpp.


Generated by  doxygen 1.6.2