| class CSmsAccount : public CBase |
Stores SMS service and Schedule Send settings to Central Repository.
| Public Member Functions | |
|---|---|
| ~CSmsAccount() | |
| IMPORT_C void | InitialiseDefaultSettingsL(CSmsSettings &) |
| IMPORT_C void | InitialiseDefaultSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &) |
| IMPORT_C void | LoadSettingsL(CSmsSettings &) |
| IMPORT_C void | LoadSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &) |
| IMPORT_C CSmsAccount * | NewL() |
| IMPORT_C CSmsAccount * | NewLC() |
| IMPORT_C void | SaveSettingsL(const CSmsSettings &) |
| IMPORT_C void | SaveSettingsL(const CMsvScheduleSettings &, const CMsvOffPeakTimes &, const CMsvSendErrorActions &, const CMsvSysAgentActions &) |
| Private Member Functions | |
|---|---|
| CSmsAccount() | |
| void | ConstructL() |
| TMsvId | CreateSmsServiceL() |
| void | HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *) |
| void | ResetSettings() |
| CMsvSession & | SessionL() |
| Private Member Enumerations | |
|---|---|
| enum | TSmsSettingsCenRepId { ESmsServiceId = 0x00000000, ESmsSettingsVersionId = 0x00000001, ESmsSettingsMesssageVersionId = 0x00000002, ESmsValidityPeriodId = 0x00000003, ESmsValidityPeriodFormatId = 0x00000004, ESmsAlphabetId = 0x00000005, ESmsMsgFlagsId = 0x00000006, ESmsMessageConversionId = 0x00000007, ESmsFlagsId = 0x00000008, ESmsStatusReportHandlingId = 0x00000009, ESmsSpecialMessageHandlingId = 0x0000000A, ESmsCommDbActionId = 0x0000000B, ESmsDeliveryId = 0x0000000C, ESmsDefaultSCId = 0x0000000D, ESmsSCAddressesCountId = 0x0000000E, ESmsBearerActionId = 0x0000000F, ESmsBearerId = 0x00000010, ESmsClass2FolderId = 0x00000020, ESmsDescriptionLengthId = 0x00000030, ESmsAccountNameId = 0x00000040, ESmsSCAddressesPartialId = 0x00001000, EMsgSMSTimeStampSettings = 0x000A0020 } |
| Private Attributes | |
|---|---|
| CMsvSession * | iMsvSession |
| CRepository * | iRepository |
| void | HandleSessionEventL | ( | TMsvSessionEvent | , |
| TAny * | , | |||
| TAny * | , | |||
| TAny * | ||||
| ) | [private] | |||
| IMPORT_C void | InitialiseDefaultSettingsL | ( | CSmsSettings & | aSmsSettings | ) |
| CSmsSettings & aSmsSettings |
| IMPORT_C void | InitialiseDefaultSettingsL | ( | CMsvScheduleSettings & | aScheduleSettings, |
| CMsvOffPeakTimes & | aOffPeakTimes, | |||
| CMsvSendErrorActions & | aErrorActions, | |||
| CMsvSysAgentActions & | aSysAgentActions | |||
| ) | ||||
| CMsvScheduleSettings & aScheduleSettings | |
| CMsvOffPeakTimes & aOffPeakTimes | |
| CMsvSendErrorActions & aErrorActions | |
| CMsvSysAgentActions & aSysAgentActions |
| IMPORT_C void | LoadSettingsL | ( | CSmsSettings & | aSmsSettings | ) |
| CSmsSettings & aSmsSettings |
| IMPORT_C void | LoadSettingsL | ( | CMsvScheduleSettings & | aScheduleSettings, |
| CMsvOffPeakTimes & | aOffPeakTimes, | |||
| CMsvSendErrorActions & | aErrorActions, | |||
| CMsvSysAgentActions & | aSysAgentActions | |||
| ) | ||||
| CMsvScheduleSettings & aScheduleSettings | |
| CMsvOffPeakTimes & aOffPeakTimes | |
| CMsvSendErrorActions & aErrorActions | |
| CMsvSysAgentActions & aSysAgentActions |
| IMPORT_C void | SaveSettingsL | ( | const CSmsSettings & | aSmsSettings | ) | const |
| const CSmsSettings & aSmsSettings |
| IMPORT_C void | SaveSettingsL | ( | const CMsvScheduleSettings & | aScheduleSettings, |
| const CMsvOffPeakTimes & | aOffPeakTimes, | |||
| const CMsvSendErrorActions & | aErrorActions, | |||
| const CMsvSysAgentActions & | aSysAgentActions | |||
| ) | const | |||
| const CMsvScheduleSettings & aScheduleSettings | |
| const CMsvOffPeakTimes & aOffPeakTimes | |
| const CMsvSendErrorActions & aErrorActions | |
| const CMsvSysAgentActions & aSysAgentActions |
| ESmsServiceId = 0x00000000 | |
| ESmsSettingsVersionId = 0x00000001 | |
| ESmsSettingsMesssageVersionId = 0x00000002 | |
| ESmsValidityPeriodId = 0x00000003 | |
| ESmsValidityPeriodFormatId = 0x00000004 | |
| ESmsAlphabetId = 0x00000005 | |
| ESmsMsgFlagsId = 0x00000006 | |
| ESmsMessageConversionId = 0x00000007 | |
| ESmsFlagsId = 0x00000008 | |
| ESmsStatusReportHandlingId = 0x00000009 | |
| ESmsSpecialMessageHandlingId = 0x0000000A | |
| ESmsCommDbActionId = 0x0000000B | |
| ESmsDeliveryId = 0x0000000C | |
| ESmsDefaultSCId = 0x0000000D | |
| ESmsSCAddressesCountId = 0x0000000E | |
| ESmsBearerActionId = 0x0000000F | |
| ESmsBearerId = 0x00000010 | |
| ESmsClass2FolderId = 0x00000020 | |
| ESmsDescriptionLengthId = 0x00000030 | |
| ESmsAccountNameId = 0x00000040 | |
| ESmsSCAddressesPartialId = 0x00001000 | |
| EMsgSMSTimeStampSettings = 0x000A0020 |