summaryrefslogtreecommitdiff
path: root/watchapp/src/actimon.h
diff options
context:
space:
mode:
Diffstat (limited to 'watchapp/src/actimon.h')
-rw-r--r--watchapp/src/actimon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/watchapp/src/actimon.h b/watchapp/src/actimon.h
new file mode 100644
index 0000000..fe4dcf2
--- /dev/null
+++ b/watchapp/src/actimon.h
@@ -0,0 +1,19 @@
+#ifndef ACTIMON_H
+#define ACTIMON_H 1
+
+#include <stdint.h>
+
+/* Activity monitor API */
+
+typedef enum {
+ mmSteps,
+ mmSleep
+} monitor_mode_e;
+
+extern monitor_mode_e monitor_mode;
+extern uint32_t step_total_today;
+
+void init_activity_monitor(void);
+void fini_activity_monitor(void);
+
+#endif