Location:
SMUTSET.H
Link against: smcm.lib
class CSmsSettings : public CSmsMessageSettings;
The SMS Service settings.
An SMS service entry stores an object of this type in its message store. These settings define the default settings for mobile originated messages (SMS-SUBMIT type messages). They also provide some global settings that are applied to all messages, both outward going and received messages.
The SMS service also uses this class to store the set of avilable Servive Centre numbers. The default Service Centre is defined from this set.
CBase
- Base class for all classes to be instantiated on the heap
CSmsMessageSettings
- The SMS settings that are relevant on a per message basis
CSmsSettings
- The SMS Service settings
Defined in CSmsSettings
:
AddServiceCenterL()
, AddServiceCenterL()
, AlertOnDelivery()
, Class2Folder()
, Class2Folder()
, CommDbAction()
, CommDbAction()
, CopyL()
, CopyL()
, DefaultServiceCenter()
, DefaultServiceCenter()
, DefaultTeleservice()
, Delivery()
, Delivery()
, DescriptionLength()
, DescriptionLength()
, DigitMode()
, EDiscardReport
, EDiscardReport
, EDiscardReportAndMatch
, EDiscardReportAndMatch
, EDoNotWatchForReport
, EDoNotWatchForReport
, EMoveReportToInboxInvisible
, EMoveReportToInboxInvisible
, EMoveReportToInboxInvisibleAndMatch
, EMoveReportToInboxInvisibleAndMatch
, EMoveReportToInboxVisible
, EMoveReportToInboxVisible
, EMoveReportToInboxVisibleAndMatch
, EMoveReportToInboxVisibleAndMatch
, ENone
, ENone
, ESmsBearerCircuitOnly
, ESmsBearerCircuitOnly
, ESmsBearerCircuitPreferred
, ESmsBearerCircuitPreferred
, ESmsBearerPacketOnly
, ESmsBearerPacketOnly
, ESmsBearerPacketPreferred
, ESmsBearerPacketPreferred
, EStoreToCommDb
, EStoreToCommDb
, GetServiceCenter()
, GetServiceCenter()
, MessageDisplayMode()
, NewL()
, NewL()
, NewLC()
, NewLC()
, PreferedLanguageList()
, PreferedLanguageList()
, RemoveServiceCenter()
, RemoveServiceCenter()
, ReplyQuoted()
, ReplyQuoted()
, ReplyWithOriginalMessage()
, ServiceCenterCount()
, ServiceCenterCount()
, SetAlertOnDelivery()
, SetClass2Folder()
, SetClass2Folder()
, SetCommDbAction()
, SetCommDbAction()
, SetDefaultServiceCenter()
, SetDefaultServiceCenter()
, SetDefaultTeleservice()
, SetDelivery()
, SetDelivery()
, SetDescriptionLength()
, SetDescriptionLength()
, SetDigitMode()
, SetMessageDisplayMode()
, SetReplyQuoted()
, SetReplyQuoted()
, SetReplyWithOriginalMessage()
, SetSmsBearer()
, SetSmsBearer()
, SetSmsBearerAction()
, SetSmsBearerAction()
, SetSpecialMessageHandling()
, SetSpecialMessageHandling()
, SetStatusReportHandling()
, SetStatusReportHandling()
, SmsBearer()
, SmsBearer()
, SmsBearerAction()
, SmsBearerAction()
, SpecialMessageHandling()
, SpecialMessageHandling()
, StatusReportHandling()
, StatusReportHandling()
, TMobileSmsBearer
, TMobileSmsBearer
, TSmsReportHandling
, TSmsReportHandling
, TSmsSettingsCommDbAction
, TSmsSettingsCommDbAction
, ~CSmsSettings()
, ~CSmsSettings()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSmsMessageSettings
:
CanConcatenate()
,
CharacterSet()
,
DeliveryReport()
,
ExternalizeL()
,
InternalizeL()
,
LastSegmentDeliveryReport()
,
MessageConversion()
,
RejectDuplicate()
,
ReplyPath()
,
SetCanConcatenate()
,
SetCharacterSet()
,
SetDeliveryReport()
,
SetLastSegmentDeliveryReport()
,
SetMessageConversion()
,
SetRejectDuplicate()
,
SetReplyPath()
,
SetUseServiceCenterTimeStampForDate()
,
SetValidityPeriod()
,
SetValidityPeriodFormat()
,
UseServiceCenterTimeStampForDate()
,
ValidityPeriod()
,
ValidityPeriodFormat()
static IMPORT_C CSmsSettings *NewL();
Allocates and constructs an SMS settings object.
Initialises all member data to their default values.
|
static IMPORT_C CSmsSettings *NewLC();
Allocates and constructs an SMS settings object.
Initialises all member data to their default values.
|
IMPORT_C TInt ServiceCenterCount() const;
Gets the number of Service Centre addresses stored in this object.
|
IMPORT_C CSmsServiceCenter &GetServiceCenter(TInt aIndex) const;
Gets the Service Centre address at the specified index in the list.
|
|
IMPORT_C void AddServiceCenterL(const TDesC &aName, const TDesC &aNumber);
Appends a service centre address (name and number) to the list.
|
IMPORT_C void RemoveServiceCenter(TInt aIndex);
Removes the service centre address with index aIndex from the array of service centre addresses that are stored in the object.
|
IMPORT_C TInt DefaultServiceCenter() const;
Gets the index of the default service centre address for this service.
|
IMPORT_C void SetDefaultServiceCenter(TInt aDefaultSC);
Sets the index of the default service centre address for this service.
|
|
inline TSmsDelivery Delivery() const;
Gets the default schedule delivery type of a new message created using the SMS client MTM.
|
inline void SetDelivery(TSmsDelivery);
Sets the default schedule delivery type of a new message created using the SMS client MTM.
|
inline TBool ReplyQuoted() const;
Gets whether the editor should quote the received message at the beginning of the reply message.
|
inline void SetReplyQuoted(TBool);
Sets whether the editor should quote the received message at the beginning of the reply message.
|
IMPORT_C void CopyL(const CSmsSettings &aSmsSettings);
Copies the SMS settings stored in the specified object into this object.
|
inline TSmsReportHandling StatusReportHandling() const;
Gets the way in which status reports that are received by the watcher are handled.
By default, this is EDoNotWatchForReport. This value is not supported and therefore the value must be changed from the default.
|
inline void SetStatusReportHandling(TSmsReportHandling aStatusReportHandling);
Sets the way in which status reports that are received by the watcher are handled.
|
inline TSmsReportHandling SpecialMessageHandling() const;
Gets the way in which special messages that are received by the watcher are handled.
By default, this is EDoNotWatchForReport. This value is not supported and therefore the value must be changed from the default.
|
inline void SetSpecialMessageHandling(TSmsReportHandling aSpecialMessageHandling);
Sets the way in which special messages that are received by the watcher are handled.
|
inline void SetCommDbAction(TSmsSettingsCommDbAction aCommDbAction);
Sets whether the Service settings should be used to update the communications database.
If set, this uses the service settings to update the comms db MODEM table's MODEM_MESSAGE_CENTRE_NUMBER, MODEM_MESSAGE_VALIDITY_PERIOD and MODEM_MESSAGE_DELIVERY_REPORT fields. The update is done when the Service settings are stored into the message store using CSmsSettings::StoreL().
The default setting is for the comms db not to be updated - TSmsSettingsCommDbAction::ENone
.
|
inline TSmsSettingsCommDbAction CommDbAction() const;
Gets the communications database action.
For details, see CSmsSettings::SetCommDbAction()
.
|
inline void SetSmsBearerAction(TSmsSettingsCommDbAction aSmsBearerAction);
Sets whether the Service's SMS bearer setting should be used to update the communications database.
If set, this uses the service setting to update the comm db global table's SMS_BEARER field. The update is done when the Service settings are stored into the message store using CSmsSettings::StoreL().
The default setting is for the comms db not to be updated - TSmsSettingsCommDbAction::ENone
.
|
inline TSmsSettingsCommDbAction SmsBearerAction() const;
Gets the SMS bearer action.
For details, see CSmsSettings::SetCommDbAction()
.
|
IMPORT_C CSmsServiceCenter &GetServiceCenter(TInt aIndex) const;
|
|
IMPORT_C void AddServiceCenterL(const TDesC &aName, const TDesC &aNumber);
|
inline void SetSmsBearer(TMobileSmsBearer aSmsBearer);
Sets the SMS bearer.
|
inline TMobileSmsBearer SmsBearer() const;
Gets the SMS bearer.
|
inline void SetClass2Folder(TMsvId aId);
Sets the folder ID into which received class 2 SMS-DELIVER messages are stored.
|
inline TMsvId Class2Folder() const;
Gets the folder ID into which received class 2 SMS-DELIVER messages are stored.
|
inline void SetDescriptionLength(TInt aLength);
Sets the maximum length of the message entry description.
The default value is given by KSmsDescriptionLength.
|
inline TInt DescriptionLength() const;
Gets the maximum length of the message entry description.
|
IMPORT_C void CopyL(const CSmsSettings &aSmsSettings);
|
inline void SetStatusReportHandling(TSmsReportHandling aStatusReportHandling);
|
inline TSmsReportHandling SpecialMessageHandling() const;
|
inline void SetSpecialMessageHandling(TSmsReportHandling aSpecialMessageHandling);
|
inline void SetCommDbAction(TSmsSettingsCommDbAction aCommDbAction);
|
inline TSmsSettingsCommDbAction CommDbAction() const;
|
inline void SetSmsBearerAction(TSmsSettingsCommDbAction aSmsBearerAction);
|
inline TSmsSettingsCommDbAction SmsBearerAction() const;
|
inline void SetSmsBearer(TMobileSmsBearer aSmsBearer);
|
IMPORT_C TSmsReplyWithOriginal ReplyWithOriginalMessage() const;
Defines where the original message gets attached at when replying
|
IMPORT_C void SetReplyWithOriginalMessage(TSmsReplyWithOriginal aOriginalAddedAt);
Defines where the original message gets attached at when replying
|
IMPORT_C tia637::TTeleserviceId DefaultTeleservice() const;
Retrieves the Teleservice used as a default when creating a SendAs messages
|
IMPORT_C void SetDefaultTeleservice(tia637::TTeleserviceId aTeleservice);
Defines which Teleservice shall be used as a default when creating a SendAs messages
|
IMPORT_C tia637::TAlertPriority AlertOnDelivery() const;
Returns the alert priority (Alert on delivery).
|
IMPORT_C void SetAlertOnDelivery(tia637::TAlertPriority aPriority);
Sets the alert priority (Alert on delivery).
|
IMPORT_C const CArrayFixFlat< tia637::TLanguageIndicator > &PreferedLanguageList() const;
Returns a non-modifiable reference to the preferred language list.
|
IMPORT_C CArrayFixFlat< tia637::TLanguageIndicator > &PreferedLanguageList();
Returns a modifiable reference to the preferred language list.
|
IMPORT_C tia637::TBdMode MessageDisplayMode() const;
Returns the message display mode.
|
IMPORT_C void SetMessageDisplayMode(tia637::TBdMode aMode);
Sets the message display mode.
|
IMPORT_C TSmsCdmaDigitMode DigitMode() const;
Gets the default encoding for ISDN addresses
|
IMPORT_C void SetDigitMode(TSmsCdmaDigitMode aDigitMode);
Sets default encoding for ISDN addresses
|
TSmsReportHandling
Defines the ways in which status reports that are received by the watcher may be handled.
This can be applied to both SMS-STATUS-REPORT type messages and Special Messages (e.g. Voice Mail Indication messages).
|
TSmsReportHandling
Defines the ways in which status reports that are received by the watcher may be handled.
This can be applied to both SMS-STATUS-REPORT type messages and Special Messages (e.g. Voice Mail Indication messages).
|
TSmsSettingsCommDbAction
Sets whether the service settings should be used to update the communications database.
If the update is specified, it is done when the Service settings are stored into the message store.
|
TMobileSmsBearer
Defines the SMS bearer. Modes: GSM
|
TSmsSettingsCommDbAction
Sets whether the service settings should be used to update the communications database.
If the update is specified, it is done when the Service settings are stored into the message store.
|
TMobileSmsBearer
Defines the SMS bearer.
Modes: GSM
|