summaryrefslogtreecommitdiff
path: root/src/c/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/config.h')
-rw-r--r--src/c/config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/c/config.h b/src/c/config.h
new file mode 100644
index 0000000..899c289
--- /dev/null
+++ b/src/c/config.h
@@ -0,0 +1,26 @@
+/* Copyright (C) 2026 Reiner Herrmann
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#include <pebble.h>
+
+enum BeatIndicator {
+ FLASHING = 0,
+ VIBRATION,
+ BEEP,
+};
+
+void config_init();
+void config_deinit();
+
+uint16_t config_get_bpm();
+void config_set_bpm(uint16_t bpm);
+uint8_t config_get_beats();
+void config_set_beats(uint8_t beats);
+uint8_t config_get_volume();
+bool config_is_indicator_enabled(enum BeatIndicator);
+
+#endif