3 progress::progress(int a_realsteps, int a_progsteps)
6 realsteps = a_realsteps;
7 progsteps = a_progsteps;
10 bool progress::madeStep(int realStep)
12 if( (double)(realStep+1)*progsteps/realsteps >= laststep+1 ) {
20 double progress::done()
22 return (double)laststep/progsteps;