AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NoDisplayProgress.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_NO_DISPLAY_PROGRESS_HPP_
2 #define _AV_TRANSCODER_NO_DISPLAY_PROGRESS_HPP_
3 
4 #include "IProgress.hpp"
5 
6 namespace avtranscoder
7 {
8 
9 /**
10  * @brief Implementation of IProgress, to manage cases when we need an IProgress but don't care of a progress bar.
11  */
12 class AvExport NoDisplayProgress : public IProgress
13 {
14 public:
16 
17  EJobStatus progress(const double processedDuration, const double programDuration) { return eJobStatusContinue; }
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
EJobStatus progress(const double processedDuration, const double programDuration)
Manage the progress.
Implementation of IProgress, to manage cases when we need an IProgress but don't care of a progress b...