CSendingService Class Reference

class CSendingService : public CBase

Declares sending service interface for ECom plugins.

CSendingService has to be implemented by each ECom based sending service. CSendingService contains only pure virtual methods, which must be implemented by sending services.

Sendui
Since
S60 v3.0

Inherits from

Constructor & Destructor Documentation

CSendingService(CCoeEnv &, CSendUiSingleton &)

IMPORT_C CSendingService ( CCoeEnv & aCoeEnv,
CSendUiSingleton & aSingleton
) [protected]

C++ constructor

Parameters

CCoeEnv & aCoeEnv
CSendUiSingleton & aSingleton

~CSendingService()

IMPORT_C ~CSendingService ( ) [virtual]

Destructor.

Member Functions Documentation

CreateAndSendMessageL(TUid, const CMessageData *, TBool)

void CreateAndSendMessageL ( TUid aServiceUid,
const CMessageData * aMessageData,
TBool aLaunchEditorEmbedded = ETrue
) [pure virtual]

Creates message to be sent and either sends it directly or calls MTM to edit the message.

Since
Series 60 3.0

Parameters

TUid aServiceUid Uid of the sending service.
const CMessageData * aMessageData Data for the message.
TBool aLaunchEditorEmbedded = ETrue

NewL(const TUid &, CCoeEnv &, CSendUiSingleton &)

IMPORT_C CSendingService * NewL ( const TUid & aImplementationUid,
CCoeEnv & aCoeEnv,
CSendUiSingleton & aSingleton
) [static]

Two-phased constructor.

Parameters

const TUid & aImplementationUid The implementation UID of the sending service to be created.
CCoeEnv & aCoeEnv
CSendUiSingleton & aSingleton

PopulateServicesListL(RPointerArray< CSendingServiceInfo > &)

void PopulateServicesListL ( RPointerArray < CSendingServiceInfo > & aList ) [pure virtual]

Populates given list with the provided services. Ownership of the pointed services remains in the service provider plugin.

Since
Series 60 3.0

Parameters

RPointerArray < CSendingServiceInfo > & aList Service list to be populated.

ServiceProviderId()

TUid ServiceProviderId ( ) const [pure virtual]

Return the Id of the service provider.

Since
Series 60 3.0

Member Data Documentation

CCoeEnv & iCoeEnv

CCoeEnv & iCoeEnv [protected]

Reference to CCoeEnv Not own.

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

Implementation UID of the sending service Not own.

CSendUiSingleton & iSingleton

CSendUiSingleton & iSingleton [protected]

Pointer to CSendUiSingleton; Not own.