CMsgAttachmentInfo Class Reference
class CMsgAttachmentInfo : public CBase |
Attachment information node.
Constructor & Destructor Documentation
CMsgAttachmentInfo(CMsgAttachmentModel &, const TFileName &, TInt, TBool, TBool)
~CMsgAttachmentInfo()
IMPORT_C | ~CMsgAttachmentInfo | ( | ) | |
Member Functions Documentation
AttachmentId()
Returns the id of this attachment.
CharacterSet()
TInt
| CharacterSet | ( | ) | const [inline] |
Returns character set of text attachment.
ConstructL(const TDataType &, TDRMDataType)
DRMDataType()
IMPORT_C TInt | DRMDataType | ( | ) | const |
Returns the DRM (digital rights management) status of this attachment.
DataType()
Returns the datatype (MIME type) of this attachment.
DoUpdateIconL()
void | DoUpdateIconL | ( | ) | [private] |
FileName()
Returns reference to the filename this attachment represents.
Icon()
Get icon of this attachment.
IsAttachedThisSession()
IMPORT_C TBool | IsAttachedThisSession | ( | ) | const |
Returns ETrue if this attachment was attached in this session.
IsEmptyAttachment()
TBool
| IsEmptyAttachment | ( | ) | [inline] |
Returns whether attachment is empty.
IsFetched()
IMPORT_C TBool | IsFetched | ( | ) | const |
Returns ETrue if this attachment is fetched.
IsSaved()
IMPORT_C TBool | IsSaved | ( | ) | const |
Returns status information whether this attachment has been saved into file system
IsSeparator()
IMPORT_C TBool | IsSeparator | ( | ) | const |
IsSupported()
IMPORT_C TBool | IsSupported | ( | ) | const |
NewL(CMsgAttachmentModel &, const TFileName &, TInt, TBool, TBool, TMsvAttachmentId, const TDataType &, TDRMDataType)
Factory method that creates this object.
SetAttachedThisSession(TBool)
IMPORT_C void | SetAttachedThisSession | ( | TBool | aFlag | ) | |
Sets flag which tells if this attachment is attached in this session.
SetAttachmentId(TMsvAttachmentId)
Sets the id of this attachment.
SetCharacterSet(TInt)
void | SetCharacterSet | ( | TInt | aCharConvCharSet | ) | [inline] |
Sets character set for text attachment.
SetDRMDataType(TDRMDataType)
Sets the DRM (digital rights management) status of this attachment.
SetDataType(const TDataType &)
IMPORT_C void | SetDataType | ( | const TDataType & | aDataType | ) | |
Sets the datatype (MIME type) of this attachment.
SetEmptyAttachment(TBool)
void | SetEmptyAttachment | ( | TBool | aValue | ) | [inline] |
Sets attachment empty ( i.e. no content is connected to the attachment ).
SetFetched(TBool)
IMPORT_C void | SetFetched | ( | TBool | aFetched | ) | |
Sets the fetched attribute of this attachment.
SetFileName(const TFileName &)
IMPORT_C void | SetFileName | ( | const TFileName & | aFileName | ) | |
Set the filename of this attachment.
SetSaved(TBool)
IMPORT_C void | SetSaved | ( | TBool | aSaved | ) | |
Saves status whether this attachment has been saved into file system
Parameters
TBool aSaved | ETrue attachment has been saved EFalse attachment has not been saved |
SetSeparator(TBool)
IMPORT_C void | SetSeparator | ( | TBool | aFlag | ) | |
Sets flag if separator line must be drawn before this attachment in attachment view.
SetSupported(TBool)
IMPORT_C void | SetSupported | ( | TBool | aFlag | ) | |
Size()
Returns the size of this attachment.
SizeString()
Returns the size of this attachment as a string.
Member Enumerations Documentation
Enum TAttachmentInfoFlags
Enumerators
EAttachmentNoFlagsSet = 0x00000000 | |
EAttachmentFetched = 0x00000001 | |
EAttachedThisSession = 0x00000002 | |
EAttachmentSupported = 0x00000004 | |
ESeparatorBefore = 0x00000008 | |
EAttachmentSaved = 0x00000010 | |
EEmptyAttachment = 0x00000020 | |
Enum TDRMDataType
Enumerators
ENoLimitations = 0 | |
EForwardLockedOrCombinedDelivery | |
ESeparateDeliveryValidRights | |
ECombinedDeliveryInvalidRights | |
ESeparateDeliveryInvalidRights | |
Member Data Documentation
TInt
iAttachmentFlags
TInt
| iAttachmentFlags | [private] |
TMsvAttachmentId
iAttachmentId
CMsgAttachmentModel & iAttachmentModel
TDRMDataType
iDRMDataType
TBuf< KMsgAttaSizeStringLength > iSizeString
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.