]> git.treefish.org Git - phys/latlib.git/blobdiff - progress.h
...
[phys/latlib.git] / progress.h
diff --git a/progress.h b/progress.h
new file mode 100644 (file)
index 0000000..44b6f94
--- /dev/null
@@ -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