aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 5281260c4..fc0e1fe79 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -386,6 +386,13 @@ public:
void Show(Point pt, Window &w);
};
+class ElapsedTime {
+ double beginTime;
+public:
+ ElapsedTime();
+ double Duration(bool reset=false);
+};
+
/**
* Platform class used to retrieve system wide parameters such as double click speed
* and chrome colour. Not a creatable object, more of a module with several functions.