CMessageData Class Reference
class CMessageData : public CBase
|
Encapsulates the message data for sending services.
Encapsulates the message data for sending services. Class supports externalazation and internalization, which are used to relay message to SendUI server application.
Constructor & Destructor Documentation
CMessageData()
IMPORT_C
|
CMessageData
|
(
|
)
|
[protected]
|
~CMessageData()
IMPORT_C
|
~CMessageData
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AppendAttachmentHandleL(const RFile &)
IMPORT_C void
|
AppendAttachmentHandleL
|
(
|
const
RFile
&
|
aFileHandle
|
)
|
|
Appends attachment handle to the array of attachment handles.
NOTE: Attachment handles should be opened using ShareProtected() file session, otherwise handles can not be transfered through client-server interface.
NOTE: When adding a temporary file as an attachment, always use this method,
Parameters
const
RFile
& aFileHandle
|
File handle of the attachment.
|
AppendAttachmentL(const TDesC &)
IMPORT_C void
|
AppendAttachmentL
|
(
|
const
TDesC
&
|
aFilePath
|
)
|
|
Appends attachment file path to the array of attachment file paths. Only a link to the attachment is stored and compared to AppendAttachmentHandleL less resources is used during the send operation.
NOTE: Do not add any temporary files as an attachment. Always use AppendAttachmentHandleL for temporary files.
Parameters
const
TDesC
& aFilePath
|
File path of the attachment.
|
AppendBccAddressL(const TDesC &, const TDesC &)
IMPORT_C void
|
AppendBccAddressL
|
(
|
const
TDesC
&
|
aBccAddress,
|
|
const
TDesC
&
|
aBccAlias =
KNullDesC
|
|
)
|
|
Parameters
const
TDesC
& aBccAddress
|
Real Bcc-address.
|
const
TDesC
& aBccAlias =
KNullDesC
|
Alias for the real Bcc-address.
|
AppendCcAddressL(const TDesC &, const TDesC &)
IMPORT_C void
|
AppendCcAddressL
|
(
|
const
TDesC
&
|
aCcAddress,
|
|
const
TDesC
&
|
aCcAlias =
KNullDesC
|
|
)
|
|
Parameters
const
TDesC
& aCcAddress
|
Real CC-address.
|
const
TDesC
& aCcAlias =
KNullDesC
|
Alias for the real CC-address.
|
AppendToAddressL(const TDesC &, const TDesC &)
Parameters
const
TDesC
& aAddress
|
Real address.
|
const
TDesC
& aAlias =
KNullDesC
|
Alias for the real address.
|
AttachmentArray()
IMPORT_C const
CDesCArray
&
|
AttachmentArray
|
(
|
)
|
const
|
Returns the array of attachment file paths.
AttachmentHandleArray()
IMPORT_C const
RArray
<
RFile
> &
|
AttachmentHandleArray
|
(
|
)
|
const
|
Returns the array of attachment handles.
BccAddressArray()
Returns array of Bcc addresses and aliases.
BodyText()
IMPORT_C const
CRichText
*
|
BodyText
|
(
|
)
|
const
|
Returns message body text.
CcAddressArray()
Returns array of CC addresses and aliases.
ClearAddresses()
IMPORT_C void
|
ClearAddresses
|
(
|
)
|
|
Clears all addressee arrays.
ClearAttachmentArray()
IMPORT_C void
|
ClearAttachmentArray
|
(
|
)
|
|
Clears the array of attachment file paths.
ConstructL()
IMPORT_C void
|
ConstructL
|
(
|
)
|
[protected]
|
By default Symbian 2nd phase constructor is private.
DataType()
IMPORT_C
TUid
|
DataType
|
(
|
)
|
const
|
Returns data type id.
This can be used for interpreting the opaque data.
-
Since
-
Series 60 3.0
ExternalizeL(RWriteStream &)
Externalizes message data to a stream
InternalizeL(RReadStream &)
Internalizes message data to from a stream
OpaqueData()
IMPORT_C const
TPtrC8
|
OpaqueData
|
(
|
)
|
const
|
SetBodyTextL(const CRichText *)
IMPORT_C void
|
SetBodyTextL
|
(
|
const
CRichText
*
|
aBodyText
|
)
|
|
Parameters
const
CRichText
* aBodyText
|
Message body text.
|
SetOpaqueDataL(const TDesC8 *, TUid)
IMPORT_C void
|
SetOpaqueDataL
|
(
|
const
TDesC8
*
|
aData,
|
|
TUid
|
aDataType
|
|
)
|
|
SetSubjectL(const TDesC *)
IMPORT_C void
|
SetSubjectL
|
(
|
const
TDesC
*
|
aSubject
|
)
|
|
Parameters
const
TDesC
* aSubject
|
Sets message subject. Does not take ownership.
|
Subject()
IMPORT_C const
TPtrC
|
Subject
|
(
|
)
|
const
|
ToAddressArray()
Returns array of addresses and aliases.
Member Data Documentation
TUid
iDataType
TUid
|
iDataType
|
[protected]
|
Data type of this message. Normally this is KSenduiMsgDataBase This can be used for interpreting the opaque data.
CMessageDataImpl * iMessageDataImpl
CMessageDataImpl *
|
iMessageDataImpl
|
[private]
|
Message data implementation. Owned.
TAny * iReserved1
TAny
*
|
iReserved1
|
[private]
|
TAny * iReserved2
TAny
*
|
iReserved2
|
[private]
|
TAny * iReserved3
TAny
*
|
iReserved3
|
[private]
|
TAny * iReserved4
TAny
*
|
iReserved4
|
[private]
|
TAny * iReserved5
TAny
*
|
iReserved5
|
[private]
|
RArray< TAny * > iReserved6
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.