- added blur in gfxutil
[dosdemo] / src / timer.h
diff --git a/src/timer.h b/src/timer.h
new file mode 100644 (file)
index 0000000..1fa83c3
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef TIMER_H_
+#define TIMER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* expects the required timer resolution in hertz
+ * if res_hz is 0, the current resolution is retained
+ */
+void init_timer(int res_hz);
+
+void reset_timer(void);
+unsigned long get_msec(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TIMER_H_ */