15 using namespace kome::core;
20 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
21 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
41 int range = end - start;
48 m_progress =
new boost::progress_display( range );
59 int count = pos - prevPos;
64 ( *m_progress ) += count;
virtual void onSetRange(const int start, const int end)
This method is called by setRange method. (override method)
DisplayProgress(const char *title)
constructor
boost::progress_display * m_progress
progress display abstract class
virtual ~DisplayProgress()
destructor
interfaces of DisplayProgress class
virtual void onSetStatus(const char *status, const bool bForced=false)
This method is called by setStatus method. (override method)
virtual void onFill(void)
This method is called by fill method. (override method)
virtual bool onIsStopped()
This method is called by isStopped method. (override method)
virtual void onSetPosition(const int pos, const int prevPos)
This method is called by setPosition method. (override method)