class CImPruneMessage : public CMsgActive |
Deletes the body text and attachment data from an individually specified message.
Example uses of this class are:
1. to cleanup after a populating operation has failed
2. to remove body text and attachment data from remote messages, while preserving the message structure
Public Member Functions | |
---|---|
~CImPruneMessage () | |
IMPORT_C CImPruneMessage * | NewL ( CMsvEntry &, RFs &) |
IMPORT_C CImPruneMessage * | NewLC ( CMsvEntry &, RFs &) |
IMPORT_C void | StartL ( TMsvId , TRequestStatus &) |
Private Member Functions | |
---|---|
CImPruneMessage ( CMsvEntry &, RFs &) | |
void | ConstructL () |
void | DoCancel () |
void | DoComplete ( TInt &) |
void | DoRunL () |
void | PruneEntryL () |
void | ResetStoreL () |
Private Member Enumerations | |
---|---|
enum | TImPruningState { EImPruneUpdatingEntry , EImPruneUpdatingFirstEntry , EImPruneFindingEntry , EImPruneFindFirstEntry , EImPruneFindNextEntry } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
CMsvOperation * | iChangeOperation |
CMsvEntry & | iCurrentEntry |
CImEntryFinder * | iEntryFinder |
CFileMan * | iFileManager |
RFs & | iFs |
TMsvId | iRootEntryId |
TImPruningState | iState |
CMsvStore * | iStore |
Inherited Attributes | |
---|---|
CActive::iStatus |
void | DoCancel | ( | ) | [private, 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() .
IMPORT_C CImPruneMessage * | NewL | ( | CMsvEntry & | aEntry, |
RFs & | aFs | |||
) | [static] |
Allocates and constructs a new CImPruneMessage object.
IMPORT_C CImPruneMessage * | NewLC | ( | CMsvEntry & | aEntry, |
RFs & | aFs | |||
) | [static] |
Allocates and constructs a new CImPruneMessage object, leaving the object on the cleanup stack.
IMPORT_C void | StartL | ( | TMsvId | aMessageEntry, |
TRequestStatus & | aStatus | |||
) |
Starts the asynchronous message clean operation.
TMsvId aMessageEntry | The ID of the entry from which to delete the body text and attachment data |
TRequestStatus & aStatus | Asynchronous status word that completes with KErrNone when the body text and all of the attachments have been deleted. |
EImPruneUpdatingEntry | |
EImPruneUpdatingFirstEntry | |
EImPruneFindingEntry | |
EImPruneFindFirstEntry | |
EImPruneFindNextEntry |
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.