Location:
csmsaccount.h
Link against: smcm.lib
class CSmsAccount : public CBase, public MMsvSessionObserver;
Stores SMS service and Schedule Send settings to Central Repository.
MMsvSessionObserver
- Provides the interface for notification of events from a Message Server session
CBase
- Base class for all classes to be instantiated on the heap
CSmsAccount
- Stores SMS service and Schedule Send settings to Central Repository
Defined in CSmsAccount
:
HandleSessionEventL()
, HandleSessionEventL()
, InitialiseDefaultSettingsL()
, InitialiseDefaultSettingsL()
, InitialiseDefaultSettingsL()
, InitialiseDefaultSettingsL()
, LoadSettingsL()
, LoadSettingsL()
, LoadSettingsL()
, LoadSettingsL()
, NewL()
, NewL()
, NewLC()
, NewLC()
, SaveSettingsL()
, SaveSettingsL()
, SaveSettingsL()
, SaveSettingsL()
, ~CSmsAccount()
, ~CSmsAccount()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from MMsvSessionObserver
:
EMsvCloseSession
,
EMsvCorruptedIndexRebuilding
,
EMsvCorruptedIndexRebuilt
,
EMsvEntriesChanged
,
EMsvEntriesCreated
,
EMsvEntriesDeleted
,
EMsvEntriesMoved
,
EMsvGeneralError
,
EMsvMediaAvailable
,
EMsvMediaChanged
,
EMsvMediaIncorrect
,
EMsvMediaUnavailable
,
EMsvMtmGroupDeInstalled
,
EMsvMtmGroupInstalled
,
EMsvServerFailedToStart
,
EMsvServerReady
,
EMsvServerTerminated
,
TMsvSessionEvent
static IMPORT_C CSmsAccount *NewL();
Allocates and constructs an SMS account object.
Initialises all member data to their default values.
|
static IMPORT_C CSmsAccount *NewLC();
Allocates and constructs an SMS account object.
Initialises all member data to their default values.
|
IMPORT_C void InitialiseDefaultSettingsL(CSmsSettings &aSmsSettings);
Initialises the SMS settings in CenRep:
1. Creates a SMS service entry in the message store
2. Resets the settings in CenRep to their default values
3. Populates aSmsSettings with default settings
|
IMPORT_C void InitialiseDefaultSettingsL(CSmsSettings &aSmsSettings);
|
IMPORT_C void InitialiseDefaultSettingsL(CMsvScheduleSettings &aScheduleSettings, CMsvOffPeakTimes &aOffPeakTimes, CMsvSendErrorActions
&aErrorActions, CMsvSysAgentActions &aSysAgentActions);
Initialises the SMS settings in CenRep:
1. Creates a SMS service entry in the message store
2. Resets the settings in CenRep to their default values
3. Populates the supplied objects with default settings
|
IMPORT_C void InitialiseDefaultSettingsL(CMsvScheduleSettings &aScheduleSettings, CMsvOffPeakTimes &aOffPeakTimes, CMsvSendErrorActions
&aErrorActions, CMsvSysAgentActions &aSysAgentActions);
|
IMPORT_C void LoadSettingsL(CSmsSettings &aSmsSettings);
Loads SMS Service settings from CenRep:
|
IMPORT_C void LoadSettingsL(CSmsSettings &aSmsSettings);
|
IMPORT_C void LoadSettingsL(CMsvScheduleSettings &aScheduleSettings, CMsvOffPeakTimes &aOffPeakTimes, CMsvSendErrorActions
&aErrorActions, CMsvSysAgentActions &aSysAgentActions);
Loads Schedule Send settings from CenRep:
|
IMPORT_C void LoadSettingsL(CMsvScheduleSettings &aScheduleSettings, CMsvOffPeakTimes &aOffPeakTimes, CMsvSendErrorActions
&aErrorActions, CMsvSysAgentActions &aSysAgentActions);
|
IMPORT_C void SaveSettingsL(const CSmsSettings &aSmsSettings) const;
Saves SMS Service settings to CenRep:
|
IMPORT_C void SaveSettingsL(const CSmsSettings &aSmsSettings) const;
|
IMPORT_C void SaveSettingsL(const CMsvScheduleSettings &aScheduleSettings, const CMsvOffPeakTimes &aOffPeakTimes, const CMsvSendErrorActions
&aErrorActions, const CMsvSysAgentActions &aSysAgentActions) const;
Saves Schedule Send settings to CenRep:
|
IMPORT_C void SaveSettingsL(const CMsvScheduleSettings &aScheduleSettings, const CMsvOffPeakTimes &aOffPeakTimes, const CMsvSendErrorActions
&aErrorActions, const CMsvSysAgentActions &aSysAgentActions) const;
|
private: virtual void HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *);
Indicates an event has occurred.
The type of event is indicated by the value of aEvent. The interpretation of the TAny arguments depends on this type.
For most event types, the action that is taken, for example, updating the display, is client-specific. All clients though should respond to EMsvCloseSession and EMsvServerTerminated events.
|
private: virtual void HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *);
Indicates an event has occurred.
The type of event is indicated by the value of aEvent. The interpretation of the TAny arguments depends on this type.
For most event types, the action that is taken, for example, updating the display, is client-specific. All clients though should respond to EMsvCloseSession and EMsvServerTerminated events.
|