22 #include <tjutils/tjutils.h>
23 #include <tjutils/tjthread.h>
46 virtual void init(
unsigned int nsteps,
const char* txt) = 0;
120 ProgressDisplayConsole() : counter(0), nsteps_cache(0), done(false) {}
123 void init(
unsigned int nsteps,
const char* txt);
128 unsigned int counter, nsteps_cache, old_perc;
virtual void increase(const char *subj)=0
virtual void init(unsigned int nsteps, const char *txt)=0
ProgressMeter(ProgressDisplayDriver &disp)
ProgressMeter & new_task(unsigned int total_steps, const char *txt=0)
bool increase_counter(const char *subj=0)