CImPruneMessage Class Reference
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
Constructor & Destructor Documentation
CImPruneMessage(CMsvEntry &, RFs &)
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
DoCancel()
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().
CActive::Cancel
DoComplete(TInt &)
void | DoComplete | ( | TInt & | | ) | [private, virtual] |
DoRunL()
void | DoRunL | ( | ) | [private, virtual] |
NewL(CMsvEntry &, RFs &)
Parameters
CMsvEntry & aEntry | CMsvEntry for use by the object in performing the delete operations. It does not need to be set to any particular message context. The caller retains ownership. |
RFs & aFs | Open file server session handle |
NewLC(CMsvEntry &, RFs &)
Allocates and constructs a new CImPruneMessage object, leaving the object on the cleanup stack.
Parameters
CMsvEntry & aEntry | CMsvEntry for use by the object in performing the delete operations. It does not need to be set to any particular message context. The caller retains ownership. |
RFs & aFs | Open file server session handle |
PruneEntryL()
void | PruneEntryL | ( | ) | [private] |
ResetStoreL()
void | ResetStoreL | ( | ) | [private] |
StartL(TMsvId, TRequestStatus &)
Starts the asynchronous message clean operation.
Parameters
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. |
Member Enumerations Documentation
Enum TImPruningState
Enumerators
EImPruneUpdatingEntry | |
EImPruneUpdatingFirstEntry | |
EImPruneFindingEntry | |
EImPruneFindFirstEntry | |
EImPruneFindNextEntry | |
Member Data Documentation
CMsvOperation * iChangeOperation
CMsvEntry & iCurrentEntry
CImEntryFinder * iEntryFinder
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.