|
|
|
|
Location:
IMAPSET.H
Link against: imcm.lib
class TImap4GenericProgress;
Progress information for an IMAP4 get operation.
For the 'get mail when already connected' operations, the progress state can be obtained from TImap4GenericProgress::iState. In the case of the 'connect and get mail and disconnect' and 'connect and get mail and stay online', the actual progress
defined in TImap4GenericProgress::iState will be of the form of 'Copy New Mail', 'Populating Message Selection' etc. The sub-operation state can then be obtained
in the form of 'Connecting', 'Fetching', 'Disconnecting' etc. from TImap4GenericProgress::iImap4SubStateProgress.
Defined in TImap4GenericProgress:
ConnectionIAP(), ConnectionState(), EAppending, EBusy, EConnect, EConnecting, ECopyAllMail, ECopyFromLocal, ECopyMailSelection, ECopyNewMail, ECopyToLocal, ECopyWithinService, ECopying, EDelete, EDeleting, EDisconnect, EDisconnected, EDisconnecting, EFetching, EIdle, EMoveAllMail, EMoveFromLocal, EMoveMailSelection, EMoveNewMail, EMoveToLocal, EMoveWithinService, EMoving, EOffLineCopyFromLocal, EOffLineCopyToLocal, EOffLineCopyWithinService, EOffLineDelete, EOffLineMoveFromLocal, EOffLineMoveToLocal, EOffLineMoveWithinService, EOffLinePopulate, EOffLineUndelete, EPopulate, EPopulateAllMail, EPopulateMailSelection, EPopulateNewMail, ESelect, ESelecting, ESync, ESyncing, TImap4GenericProgressOp, TImap4GenericProgressState, iBytesDone, iBytesToDo, iErrorCode, iImap4SubStateProgress, iMsgsDone, iMsgsToDo, iOperation, iPartsDone, iPartsToDo, iReturnedMsvId, iState, iTotalSize, iType
IMPORT_C TInt ConnectionState() const;
Retrieves the stage of the connection process as defined in nifvar.h and csdprog.h while the service is connecting to the IMAP4 server.
|
IMPORT_C TInt ConnectionIAP() const;
Retrieves the internet access point that is used when connecting to the IMAP4 service.
|
TImap4GenericProgressOp
Operation type.
|
TImap4GenericProgressState
Operation state information.
|
TImap4GenericProgressState iState;
The progress state.
For 'connect and get mail and disconnect' and 'connect and get mail and stay online' type operations, additional sub-operation state can be obtained from iImap4SubStateProgress.
TImap4GenericProgressState iImap4SubStateProgress;
The progress sub-state.
This only applies to 'connect and get mail and disconnect' and 'connect and get mail and stay online' type operations.
TInt iMsgsToDo;
In the EConnecting state, this field holds the connection iap value, otherwise it holds the number of messages still to be processed.
TInt iMsgsDone;
In the EConnecting state, this field holds the connection stage value, otherwise it holds the number of messages processed.
TInt iTotalSize;
The total size of messages to be downloaded (bytes).