X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/3eb3a1c16cd9d9f76a21d29194301cd69f77eca6..931c993776aa8bc41f11d6d676a894324d73a1a3:/progress.h?ds=inline diff --git a/progress.h b/progress.h new file mode 100644 index 0000000..44b6f94 --- /dev/null +++ b/progress.h @@ -0,0 +1,16 @@ +#ifndef PROGRESS_H +#define PROGRESS_H + +class progress +{ + public: + progress(int a_realsteps, int a_progsteps=100); + bool madeStep( int realStep ); + + private: + int realsteps; + int progsteps; + int laststep; +}; + +#endif