AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConsoleProgress.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_CONSOLE_PROGRESS_HPP_
2 #define _AV_TRANSCODER_CONSOLE_PROGRESS_HPP_
3 
4 #include "IProgress.hpp"
5 
6 namespace avtranscoder
7 {
8 
9 /**
10  * @brief Implementation of IProgress, to display a progress bar in console.
11  */
12 class AvExport ConsoleProgress : public IProgress
13 {
14 public:
15  ~ConsoleProgress();
16 
17  EJobStatus progress(const double processedDuration, const double programDuration);
18 };
19 }
20 
21 #endif
Base class of Progress. Inherit this class to have your own way to manage a progress bar...
Definition: IProgress.hpp:23
EJobStatus
Indicate the state of a process.
Definition: IProgress.hpp:12
Implementation of IProgress, to display a progress bar in console.