|
VMime
|


Public Member Functions | |
| progressListenerSizeAdapter (progressListener *list, const size_t total) | |
| void | start (const size_t predictedTotal) |
| void | progress (const size_t current, const size_t currentTotal) |
| void | stop (const size_t total) |
Additional Inherited Members | |
Protected Member Functions inherited from progressListener | |
| virtual | ~progressListener () |
A progress listener used when total size is known by the receiver, but not by the notifier.
| progressListenerSizeAdapter | ( | progressListener * | list, |
| const size_t | total | ||
| ) |
Construct a new progressListenerSizeAdapter object.
| list | wrapped progress listener (can be NULL) |
| total | predicted total |
Called during the operation (can be called several times).
| current | current position |
| currentTotal | adjusted total amount of units |
Implements progressListener.
References progressListener::progress().
|
virtual |
Called at the beginning of the operation.
| predictedTotal | predicted amount of units (this has no concrete meaning: these are not bytes, nor percentage...) |
Implements progressListener.
References progressListener::start().
|
virtual |
Called at the end of the operation.
| total | final total amount of units |
Implements progressListener.
References progressListener::stop().