1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#ifndef mbl_progress_null_h_
#define mbl_progress_null_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \brief Progress object that does nothing.
// \author Graham Vincent and Kevin de Souza
// \date 25 Feb 2005
#include <mbl/mbl_progress.h>
//========================================================================
//: Progress object that does nothing.
class mbl_progress_null : public mbl_progress
{
public:
//: Constructor
mbl_progress_null();
//: Destructor
~mbl_progress_null();
//: Name of the class
virtual vcl_string is_a() const;
protected:
virtual void on_set_estimated_iterations(const vcl_string& identifier,
const int total_iterations);
virtual void on_set_progress(const vcl_string& identifier,
const int progress);
virtual void on_end_progress(const vcl_string& identifier);
};
//========================================================================
#endif // mbl_progress_null_h_
|