EXPORT_C void CSendUi::CreateAndSendMessageL(
TUid aServiceUid,
const CMessageData* aMessageData,
TUid aBioTypeUid,
TBool aLaunchEditorEmbedded )
...and...
EXPORT_C void CSendUi::ShowQueryAndSendL(
const CMessageData* aMessageData,
TSendingCapabilities aRequiredCapabilities,
CArrayFix<TUid>* aServicesToDim,
TUid aBioTypeUid,
TBool aLaunchEditorEmbedded,
const TDesC& aTitleText )
...and...
EXPORT_C void CSendUi::ShowTypedQueryAndSendL(
TSendUiMenuType aMenuType,
const CMessageData* aMessageData,
TSendingCapabilities aRequiredCapabilities,
CArrayFix<TUid>* aServicesToDim,
TUid aBioTypeUid,
TBool aLaunchEditorEmbedded,
const TDesC& aTitleText )
...when the Send UI client is sending DRM
protected files over MMS.
Encapsulates the message data for sending services. Class supports externalazation and internalization, which are used to relay message to SendUI server application.
|
Public Member Functions |
virtual IMPORT_C | ~CMessageData () |
| Destructor.
|
IMPORT_C void | SetSubjectL (const TDesC *aSubject) |
| Set message subject.
|
IMPORT_C const TPtrC | Subject () const |
| Returns message subject.
|
IMPORT_C void | AppendAttachmentL (const TDesC &aFilePath) |
| Appends attachment file path to the array of attachment file paths.
|
IMPORT_C const CDesCArray & | AttachmentArray () const |
| Returns the array of attachment file paths.
|
IMPORT_C void | ClearAttachmentArray () |
| Clears the array of attachment file paths.
|
IMPORT_C void | AppendToAddressL (const TDesC &aAddress, const TDesC &aAlias=KNullDesC) |
| Encapsulates address and alias to CMessageAddress and adds to array.
|
IMPORT_C const CMessageAddressArray & | ToAddressArray () const |
| Returns array of addresses and aliases.
|
IMPORT_C void | AppendCcAddressL (const TDesC &aCcAddress, const TDesC &aCcAlias=KNullDesC) |
| Encapsulates CC address and alias to CMessageAddress and adds to array.
|
IMPORT_C const CMessageAddressArray & | CcAddressArray () const |
| Returns array of CC addresses and aliases.
|
IMPORT_C void | AppendBccAddressL (const TDesC &aBccAddress, const TDesC &aBccAlias=KNullDesC) |
| Encapsulates Bcc address and alias to CMessageAddress and adds to array.
|
IMPORT_C const CMessageAddressArray & | BccAddressArray () const |
| Returns array of Bcc addresses and aliases.
|
IMPORT_C void | SetBodyTextL (const CRichText *aBodyText) |
| Set message body text.
|
IMPORT_C const CRichText * | BodyText () const |
| Returns message body text.
|
IMPORT_C void | AppendAttachmentHandleL (const RFile &aFileHandle) |
| Appends attachment handle to the array of attachment handles.
|
IMPORT_C const RArray< RFile > & | AttachmentHandleArray () const |
| Returns the array of attachment handles.
|
IMPORT_C TUid | DataType () const |
| Returns data type id.
|
IMPORT_C void | ClearAddresses () |
| Clears all addressee arrays.
|
IMPORT_C void | ExternalizeL (RWriteStream &aStream) const |
| Externalizes message data to a stream.
|
IMPORT_C void | InternalizeL (RReadStream &aStream) |
| Internalizes message data to from a stream.
|
IMPORT_C void | SetOpaqueDataL (const TDesC8 *aData, TUid aDataType) |
| Set opaque data.
|
IMPORT_C const TPtrC8 | OpaqueData () const |
| Get opaque data.
|
Static Public Member Functions |
static IMPORT_C CMessageData * | NewL () |
| Two-phased constructor.
|
static IMPORT_C CMessageData * | NewLC () |
| Two-phased constructor.
|
Protected Member Functions |
IMPORT_C | CMessageData () |
| C++ default constructor.
|
IMPORT_C void | ConstructL () |
| By default Symbian 2nd phase constructor is private.
|
Protected Attributes |
TUid | iDataType |
| Data type of this message.
|