|
||
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()const
Retrieves the internet access point that is used when connecting to the IMAP4 se...ConnectionState()const
Retrieves the stage of the connection process as defined in nifvar.h and csdprog...EAppending
Appending local messages to remote server. EBusy
Sync already in progress. EConnect
Connect operation. EConnecting
Connecting. ECopyAllMail
CImImap4GetMail copy all messages operation in progress. ECopyFromLocal
Copy messages from local operation. ECopyMailSelection
CImImap4GetMail copy selected messages operation in progress. ECopyNewMail
CImImap4GetMail copy new mail operation in progress. ECopyToLocal
Copy messages to local operation. ECopyWithinService
Copy messages within remote server operation. ECopying
Copying local messages to local or within service. EDelete
Delete operation. EDeleting
Deleting an item, including expunging a folder. EDisconnect
Disconnect operation. EDisconnected
Disconnected. EDisconnecting
Disconnecting. EFetching
Fetching messages to mirror server. EIdle
Idle. EMoveAllMail
CImImap4GetMail move all messages operation in progress. EMoveFromLocal
Move messages from local operation. EMoveMailSelection
CImImap4GetMail move selected messages operation in progress. EMoveNewMail
CImImap4GetMail move new mail operation in progress. EMoveToLocal
Move messages to local operation. EMoveWithinService
Move messages within remote server operation. EMoving
CImImap4GetMail move operation in progress. EOffLineCopyFromLocal
Offline copy messages from local operation. EOffLineCopyToLocal
Offline delete operation. EOffLineCopyWithinService
Offline copy messages within remote server operation. EOffLineDelete
Offline delete operation. EOffLineMoveFromLocal
Offline move messages from local operation. EOffLineMoveToLocal
Offline move messages to local operation. EOffLineMoveWithinService
Offline move messages within remote server operation. EOffLinePopulate
Offline message population operation. EOffLineUndelete
Offline undelete operation. EPopulate
Message population operation. EPopulateAllMail
CImImap4GetMail populate all messages operation in progress. EPopulateMailSelection
CImImap4GetMail populate selected messages operation in progress. EPopulateNewMail
CImImap4GetMail populate new messages operation in progress. ESelect
Select operation. ESelecting
Selecting the folder to use. ESync
Sync operation. ESyncing
Synchronising folder after an operation. TImap4GenericProgressOp
Operation type. TImap4GenericProgressState
Operation state information. iBytesDone
Number of bytes (for a multipart fetch) processed. iBytesToDo
Number of bytes (for a multipart fetch) still to be processed. iErrorCode
Error code. iImap4SubStateProgress
The progress sub-state.iMsgsDone
In the EConnecting state, this field holds the connection stage value, otherwise...iMsgsToDo
In the EConnecting state, this field holds the connection iap value, otherwise i...iOperation
Operation type. iPartsDone
Number of message parts processed. iPartsToDo
Number of message parts still to be processed. iReturnedMsvId
Message ID returned from the operation. iState
The progress state.iTotalSize
The total size of messages to be downloaded (bytes). iType
Progress information type: always EImap4GenericProgressType. CImImap4GetMail
Encapsulates an operation to copy, move, and populate (i.e. download the full me...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).