CSmsAccount Class Reference

class CSmsAccount : public CBase

Stores SMS service and Schedule Send settings to Central Repository.

Inherits from

Public Member Functions
~CSmsAccount()
IMPORT_C voidInitialiseDefaultSettingsL(CSmsSettings &)
IMPORT_C voidInitialiseDefaultSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &)
IMPORT_C voidLoadSettingsL(CSmsSettings &)
IMPORT_C voidLoadSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &)
IMPORT_C CSmsAccount *NewL()
IMPORT_C CSmsAccount *NewLC()
IMPORT_C voidSaveSettingsL(const CSmsSettings &)
IMPORT_C voidSaveSettingsL(const CMsvScheduleSettings &, const CMsvOffPeakTimes &, const CMsvSendErrorActions &, const CMsvSysAgentActions &)
Private Member Functions
CSmsAccount()
voidConstructL()
TMsvId CreateSmsServiceL()
voidHandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)
voidResetSettings()
CMsvSession &SessionL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTSmsSettingsCenRepId {
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

Constructor & Destructor Documentation

CSmsAccount()

CSmsAccount()[private]

~CSmsAccount()

IMPORT_C~CSmsAccount()[virtual]

Member Functions Documentation

ConstructL()

voidConstructL()[private]

CreateSmsServiceL()

TMsvId CreateSmsServiceL()[private]

HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)

voidHandleSessionEventL(TMsvSessionEvent,
TAny *,
TAny *,
TAny *
)[private]

Parameters

TMsvSessionEvent
TAny *
TAny *
TAny *

InitialiseDefaultSettingsL(CSmsSettings &)

IMPORT_C voidInitialiseDefaultSettingsL(CSmsSettings &aSmsSettings)

Parameters

CSmsSettings & aSmsSettings

InitialiseDefaultSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &)

IMPORT_C voidInitialiseDefaultSettingsL(CMsvScheduleSettings &aScheduleSettings,
CMsvOffPeakTimes &aOffPeakTimes,
CMsvSendErrorActions &aErrorActions,
CMsvSysAgentActions &aSysAgentActions
)

Parameters

CMsvScheduleSettings & aScheduleSettings
CMsvOffPeakTimes & aOffPeakTimes
CMsvSendErrorActions & aErrorActions
CMsvSysAgentActions & aSysAgentActions

LoadSettingsL(CSmsSettings &)

IMPORT_C voidLoadSettingsL(CSmsSettings &aSmsSettings)

Parameters

CSmsSettings & aSmsSettings

LoadSettingsL(CMsvScheduleSettings &, CMsvOffPeakTimes &, CMsvSendErrorActions &, CMsvSysAgentActions &)

IMPORT_C voidLoadSettingsL(CMsvScheduleSettings &aScheduleSettings,
CMsvOffPeakTimes &aOffPeakTimes,
CMsvSendErrorActions &aErrorActions,
CMsvSysAgentActions &aSysAgentActions
)

Parameters

CMsvScheduleSettings & aScheduleSettings
CMsvOffPeakTimes & aOffPeakTimes
CMsvSendErrorActions & aErrorActions
CMsvSysAgentActions & aSysAgentActions

NewL()

IMPORT_C CSmsAccount *NewL()[static]

NewLC()

IMPORT_C CSmsAccount *NewLC()[static]

ResetSettings()

voidResetSettings()[private]

SaveSettingsL(const CSmsSettings &)

IMPORT_C voidSaveSettingsL(const CSmsSettings &aSmsSettings)const

Parameters

const CSmsSettings & aSmsSettings

SaveSettingsL(const CMsvScheduleSettings &, const CMsvOffPeakTimes &, const CMsvSendErrorActions &, const CMsvSysAgentActions &)

IMPORT_C voidSaveSettingsL(const CMsvScheduleSettings &aScheduleSettings,
const CMsvOffPeakTimes &aOffPeakTimes,
const CMsvSendErrorActions &aErrorActions,
const CMsvSysAgentActions &aSysAgentActions
)const

Parameters

const CMsvScheduleSettings & aScheduleSettings
const CMsvOffPeakTimes & aOffPeakTimes
const CMsvSendErrorActions & aErrorActions
const CMsvSysAgentActions & aSysAgentActions

SessionL()

CMsvSession &SessionL()[private]

Member Enumerations Documentation

Enum TSmsSettingsCenRepId

Enumerators

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

Member Data Documentation

CMsvSession * iMsvSession

CMsvSession *iMsvSession[private]

CRepository * iRepository

CRepository *iRepository[private]