]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Timer.hh
extreme refactoring
[chaz/yoink] / src / Moof / Timer.hh
similarity index 91%
rename from src/timer.hh
rename to src/Moof/Timer.hh
index 8506327d09c763cc8079513615e5b33b76a1deb7..340f79fa15b53b8d762ae730687eaca147315817 100644 (file)
 
 *******************************************************************************/
 
-#ifndef _TIMER_HH_
-#define _TIMER_HH_
+#ifndef _MOOF_TIMER_HH_
+#define _MOOF_TIMER_HH_
 
 /**
- * @file timer.hh
+ * @file Timer.hh
  * Functions for measuring time in a friendly unit.
  */
 
-#include "math.hh"
+#include <Moof/Math.hh>
 
 
-namespace dc {
+namespace Mf {
 
 
 /**
@@ -45,7 +45,7 @@ namespace dc {
  * @return Seconds.
  */
 
-scalar ticks();
+Scalar getTicks();
 
 
 /**
@@ -57,13 +57,13 @@ scalar ticks();
  * sleep for the requested amount of time.
  */
 
-void sleep(scalar seconds, bool absolute = false);
+void sleep(Scalar seconds, bool absolute = false);
 
 
-} // namespace dc
+} // namespace Mf
 
 
-#endif // _TIMER_HH_
+#endif // _MOOF_TIMER_HH_
 
 /** vim: set ts=4 sw=4 tw=80: *************************************************/
 
This page took 0.017505 seconds and 4 git commands to generate.