class CAgnAttachmentFile : public CAgnAttachment |
Public Member Functions | |
---|---|
CAgnAttachmentFile() | |
~CAgnAttachmentFile() | |
TBool | CompareL(const CAgnAttachment &) |
IMPORT_C const TDesC8 & | ContentId() |
IMPORT_C void | CopyFileHandle(const RFile &) |
void | CopyL(const CAgnAttachment &) |
IMPORT_C TDriveName | Drive() |
void | ExternalizeL(RWriteStream &) |
IMPORT_C const RFile & | FileHandle() |
IMPORT_C const TDesC & | FileName() |
IMPORT_C TBool | IsFileHandleSet() |
IMPORT_C const TTime & | LastModifiedTimeUtc() |
IMPORT_C void | SetContentIdL(const TDesC8 &) |
IMPORT_C void | SetDriveL(const TDesC &) |
IMPORT_C void | SetFileNameL(const TDesC &) |
IMPORT_C void | SetHasFileHandle(TBool) |
IMPORT_C void | SetLastModifiedTimeUtc(const TTime &) |
Private Member Functions | |
---|---|
void | InternalizeL(RReadStream &) |
Inherited Enumerations | |
---|---|
CAgnAttachment:@41 |
Private Attributes | |
---|---|
TDesC8 * | iContentId |
RFile | iFileHandle |
HBufC * | iFileName |
TBool | iIsFileHandleSet |
TTime | iLastModifiedTimeUtc |
TBool | CompareL | ( | const CAgnAttachment & | aSource | ) | const [virtual] |
const CAgnAttachment & aSource |
IMPORT_C void | CopyFileHandle | ( | const RFile & | aFile | ) |
Set the file handle (should be called on client side only).
const RFile & aFile |
void | CopyL | ( | const CAgnAttachment & | aSource | ) | [virtual] |
const CAgnAttachment & aSource |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
RWriteStream & aStream |
IMPORT_C const RFile & | FileHandle | ( | ) | const |
Get the file handle (should be called on client side only).
void | InternalizeL | ( | RReadStream & | aStream | ) | [private, virtual] |
Used when store the object to the file
RReadStream & aStream |
IMPORT_C const TTime & | LastModifiedTimeUtc | ( | ) | const |
Last modified date of an attachment is separate data from the entry's last modified time. It is set by the client and may not match the actual file attachment's modified time.
IMPORT_C void | SetContentIdL | ( | const TDesC8 & | aContentId | ) |
The content ID should only be set by a client on import or export.
const TDesC8 & aContentId |
IMPORT_C void | SetDriveL | ( | const TDesC & | aDrive | ) |
Set the drive on which to store the attachment
const TDesC & aDrive |
IMPORT_C void | SetFileNameL | ( | const TDesC & | aFileName | ) |
Set the name of the file where the attachment is stored internally. This is not exposed to clients.
const TDesC & aFileName |
IMPORT_C void | SetHasFileHandle | ( | TBool | aHasFileHandel | ) |
TBool aHasFileHandel |
IMPORT_C void | SetLastModifiedTimeUtc | ( | const TTime & | aTime | ) |
const TTime & aTime |