class CImStoreMessagePart : public CMsvOperation |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Inherited Attributes | |
---|---|
CActive::iStatus | |
CMsvOperation::iMsvSession | |
CMsvOperation::iMtm | |
CMsvOperation::iObserverRequestStatus | |
CMsvOperation::iService |
CImStoreMessagePart | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | ||
TMsvId | aMessageId, | ||
TBool | aUsePlainTextStorage = EFalse | ||
) | [private] |
TRequestStatus & aStatus | |
CMsvEntry & aMsvEntry | |
TMsvId aMessageId | |
TBool aUsePlainTextStorage = EFalse |
CImStoreMessagePart * | AddAttachmentL | ( | TMsvId | aMessageId, |
const TDesC & | aFilePath, | |||
CMsvEntry & | aMsvEntry, | |||
CMsvAttachment * | aAttachmentInfo, | |||
TRequestStatus & | aStatus | |||
) | [static] |
TMsvId aMessageId | |
const TDesC & aFilePath | |
CMsvEntry & aMsvEntry | |
CMsvAttachment * aAttachmentInfo | |
TRequestStatus & aStatus |
CImStoreMessagePart * | AddAttachmentL | ( | TMsvId | aMessageId, |
RFile & | aFile, | |||
CMsvEntry & | aMsvEntry, | |||
CMsvAttachment * | aAttachmentInfo, | |||
TRequestStatus & | aStatus | |||
) | [static] |
TMsvId aMessageId | |
RFile & aFile | |
CMsvEntry & aMsvEntry | |
CMsvAttachment * aAttachmentInfo | |
TRequestStatus & aStatus |
CImStoreMessagePart * | AddEntryAsAttachmentL | ( | TMsvId | aMessageId, |
TMsvId | aAttachmentMessageId, | |||
CMsvEntry & | aMsvEntry, | |||
CMsvAttachment * | aAttachmentInfo, | |||
TRequestStatus & | aStatus | |||
) | [static] |
TMsvId aMessageId | |
TMsvId aAttachmentMessageId | |
CMsvEntry & aMsvEntry | |
CMsvAttachment * aAttachmentInfo | |
TRequestStatus & aStatus |
CImStoreMessagePart * | AddLinkedAttachmentL | ( | TMsvId | aMessageId, |
const TDesC & | aFilePath, | |||
CMsvEntry & | aMsvEntry, | |||
CMsvAttachment * | aAttachmentInfo, | |||
TRequestStatus & | aStatus | |||
) | [static] |
TMsvId aMessageId | |
const TDesC & aFilePath | |
CMsvEntry & aMsvEntry | |
CMsvAttachment * aAttachmentInfo | |
TRequestStatus & aStatus |
CImStoreMessagePart * | AddRelatedPartL | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | |||
TMsvId | aMessageId, | |||
const TDesC & | aAttachmentFullName, | |||
TMsvId | aRelatedPartId, | |||
const TDesC8 & | aContentId | |||
) | [static] |
TInt | CheckMimeInAttachmentInfoL | ( | CMsvMimeHeaders & | aMsvMimeHeaders | ) | [private] |
CMsvMimeHeaders & aMsvMimeHeaders |
void | ConstructAttachmentInfo | ( | CMsvAttachment * | aAttachmentInfo, |
TInt | aAttachmentCreationState | |||
) | [private] |
CMsvAttachment * aAttachmentInfo | |
TInt aAttachmentCreationState |
void | ConstructL | ( | RFile & | aFile, |
const TDesC & | aAttachmentName | |||
) | [private] |
void | ConstructL | ( | const TDesC & | aAttachmentFullName, |
const TDesC8 & | aContentId | |||
) | [private] |
void | ConstructL | ( | const TDesC & | aAttachmentFullName | ) | [private] |
const TDesC & aAttachmentFullName |
void | ConstructL | ( | TMsvId | aAttachmentMessageId | ) | [private] |
TMsvId aAttachmentMessageId |
void | ConstructL | ( | const TDesC & | aAttachmentFullName, |
TMsvId | aRelatedPartId, | |||
const TDesC8 & | aContentId | |||
) | [private] |
void | ConstructL | ( | CRichText & | aRichText | ) | [private] |
CRichText & aRichText |
void | ConstructL | ( | CRichText & | aRichText, |
const CImMimeHeader & | aMimeHeader | |||
) | [private] |
CRichText & aRichText | |
const CImMimeHeader & aMimeHeader |
void | ConstructL | ( | CImMimeHeader & | aMimeHeader | ) | [private] |
CImMimeHeader & aMimeHeader |
void | ConstructL | ( | TImMessagePart | aMessagePart | ) | [private] |
TImMessagePart aMessagePart |
CImStoreMessagePart * | CreateAttachmentL | ( | TMsvId | aMessageId, |
const TDesC & | aFileName, | |||
RFile & | aAttachmentFile, | |||
CMsvEntry & | aMsvEntry, | |||
CMsvAttachment * | aAttachmentInfo, | |||
TRequestStatus & | aStatus | |||
) | [static] |
TMsvId aMessageId | |
const TDesC & aFileName | |
RFile & aAttachmentFile | |
CMsvEntry & aMsvEntry | |
CMsvAttachment * aAttachmentInfo | |
TRequestStatus & aStatus |
TBool | CreateAttachmentMimeHeaderL | ( | CImMimeHeader & | aMimeHeader, |
const TDesC & | aDetails | |||
) | [private] |
Opens attachment file & extract initial text, pass into recognizer. If the file type is recognized, use the MIME string produced in the MIMEheader object stored in the attachment entry.
CImMimeHeader & aMimeHeader | |
const TDesC & aDetails |
void | CreateFolderMimeHeaderL | ( | CImMimeHeader & | aMimeHeader | ) | [private] |
CImMimeHeader & aMimeHeader |
void | CreateMessageMimeHeaderL | ( | CImMimeHeader & | aMimeHeader | ) | [private] |
CImMimeHeader & aMimeHeader |
void | DoCancel | ( | ) | [virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel() .
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel() .
void | MoveOriginalMessageEntryChildrenToNewFolderL | ( | ) | [private] |
const TDesC8 & | ProgressL | ( | ) | [virtual] |
Gets information on the progress of the operation.
All operations on local entries share the same progress information format, which defined by TMsvLocalOperationProgress .
For MTM-specific operations, progress information can be extracted by calling CBaseUiMtm::GetProgress() or displayed by CBaseUiMtm::DisplayProgressSummary() on the appropriate User Interface MTM.
Requirements:
Derived classes should implement this function so that the client can check on the progress of the operation. The function should share an understanding of the format of the buffer with the implementations of CBaseUiMtm::GetProgress() and CBaseUiMtm::DisplayProgressSummary() in the User Interface MTM. The arguments of CBaseUiMtm::GetProgress() show some information that should be included where appropriate.
void | RunL | ( | ) | [virtual] |
Handles an active object's request completion event.
A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.
The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.
Before calling this active object's RunL() function, the active scheduler has:
1. decided that this is the highest priority active object with a completed request
2. marked this active object's request as complete (i.e. the request is no longer outstanding)
RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.
Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.
CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD
void | SetAttachmentEntryCreated | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetEntryDetailsL | ( | TMsvEntry & | aEntry | ) | [private] |
TMsvEntry & aEntry |
void | SetMultipartAlternativeCreated | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetMultipartAlternativeExists | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetMultipartMixedCreated | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetMultipartMixedExists | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetMultipartRelatedCreated | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
void | SetMultipartRelatedExists | ( | TBool | aFlag | ) | [private] |
TBool aFlag |
CImStoreMessagePart * | StoreBodyTextL | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | |||
TMsvId | aMessageId, | |||
CRichText & | aRichText, | |||
TBool | aUsePlainTextStorage = EFalse | |||
) | [static] |
TRequestStatus & aStatus | |
CMsvEntry & aMsvEntry | |
TMsvId aMessageId | |
CRichText & aRichText | |
TBool aUsePlainTextStorage = EFalse |
CImStoreMessagePart * | StoreBodyTextWithMimeHeaderL | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | |||
TMsvId | aMessageId, | |||
CRichText & | aRichText, | |||
const CImMimeHeader & | aMimeHeader, | |||
TBool | aUsePlainTextStorage = EFalse | |||
) | [static] |
TRequestStatus & aStatus | |
CMsvEntry & aMsvEntry | |
TMsvId aMessageId | |
CRichText & aRichText | |
const CImMimeHeader & aMimeHeader | |
TBool aUsePlainTextStorage = EFalse |
CImStoreMessagePart * | StorePlainBodyTextL | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | |||
TMsvId | aMessageId, | |||
TBool | aUsePlainTextStorage = ETrue | |||
) | [static] |
TRequestStatus & aStatus | |
CMsvEntry & aMsvEntry | |
TMsvId aMessageId | |
TBool aUsePlainTextStorage = ETrue |
CImStoreMessagePart * | StorePlainBodyTextL | ( | TRequestStatus & | aStatus, |
CMsvEntry & | aMsvEntry, | |||
TMsvId | aMessageId, | |||
CImMimeHeader & | aMimeHeader, | |||
TBool | aUsePlainTextStorage = ETrue | |||
) | [static] |
TRequestStatus & aStatus | |
CMsvEntry & aMsvEntry | |
TMsvId aMessageId | |
CImMimeHeader & aMimeHeader | |
TBool aUsePlainTextStorage = ETrue |
EAddAttachment | |
EAddAttachmentUsingFileHandle | |
EAddLinkedAttachment | |
EAddEntryAsAttachment | |
ECreateAttachment |
EMessagePartAttachment | |
EMessagePartBody | |
EMessagePartMessageAttachment |
KStoreMessagePartClearFlag = 0x00000000 | |
KStoreMessagePartHTMLMessage = 0x00000001 | |
KStoreMessagePartMultipartMixedExists = 0x00000002 | |
KStoreMessagePartMultipartMixedCreated = 0x00000004 | |
KStoreMessagePartMultipartAlternativeExists = 0x00000008 | |
KStoreMessagePartMultipartAlternativeCreated = 0x00000010 | |
KStoreMessagePartTextPartExists = 0x00000020 | |
KStoreMessagePartTextPartCreated = 0x00000040 | |
KStoreMessagePartAttachmentEntryCreated = 0x00000080 | |
KStoreMessagePartOrigMessageEntryChildrenCopied = 0x00000100 | |
KStoreMessagePartOrigMessageEntryChildrenDeleted = 0x00000200 | |
KStoreMessagePartMultipartRelatedExists = 0x00000400 | |
KStoreMessagePartMultipartRelatedCreated = 0x00000800 |
EFindMultipartRelatedFolder | |
ECheckForSubfolder | |
ECreateAttachmentEntry | |
EStoreAttachment | |
ECopyOrigMessageToMessage | |
ECreateMultipartMixedFolderEntry | |
ECreateMultipartRelatedFolderEntry | |
ECreateMultipartAlternativeFolderEntry | |
EMoveOriginalMessageEntryChildrenToNewFolder | |
ECreateTextEntry | |
EStoreRichText | |
ERemoveHTMLEntry | |
EMoveTextToAlternativeFolder | |
ECreateHTMLEntry | |
EPrepareToStoreHTMLEntryText | |
EStoreHTMLEntryText | |
ECompleteStoreMessage | |
EFinished | |
EStoreHTMLTextInEntry | |
EAddEntryAttachment |
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.