summaryrefslogtreecommitdiffstats
path: root/movement
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-01-25 17:06:04 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-01-25 17:06:04 -0500
commit34c7ecfd96f543a73af664004eaf16d92dfe90ed (patch)
treed313289a6bc676587e519af54e34552c2a3a7620 /movement
parent2e345d9f664e83ef88e889f7fc6e74a700dafd31 (diff)
downloadSensor-Watch-34c7ecfd96f543a73af664004eaf16d92dfe90ed.tar.gz
Sensor-Watch-34c7ecfd96f543a73af664004eaf16d92dfe90ed.tar.bz2
Sensor-Watch-34c7ecfd96f543a73af664004eaf16d92dfe90ed.zip
movement: move watch face includes to a separate file
Diffstat (limited to 'movement')
-rw-r--r--movement/movement_config.h20
-rw-r--r--movement/movement_faces.h48
2 files changed, 49 insertions, 19 deletions
diff --git a/movement/movement_config.h b/movement/movement_config.h
index 782ddbbd..e68fcc9a 100644
--- a/movement/movement_config.h
+++ b/movement/movement_config.h
@@ -25,25 +25,7 @@
#ifndef MOVEMENT_CONFIG_H_
#define MOVEMENT_CONFIG_H_
-#include "simple_clock_face.h"
-#include "world_clock_face.h"
-#include "preferences_face.h"
-#include "set_time_face.h"
-#include "pulsometer_face.h"
-#include "thermistor_readout_face.h"
-#include "thermistor_logging_face.h"
-#include "character_set_face.h"
-#include "beats_face.h"
-#include "day_one_face.h"
-#include "voltage_face.h"
-#include "stopwatch_face.h"
-#include "totp_face.h"
-#include "lis2dh_logging_face.h"
-#include "demo_face.h"
-#include "hello_there_face.h"
-#include "sunrise_sunset_face.h"
-#include "countdown_face.h"
-#include "blinky_face.h"
+#include "movement_faces.h"
const watch_face_t watch_faces[] = {
simple_clock_face,
diff --git a/movement/movement_faces.h b/movement/movement_faces.h
new file mode 100644
index 00000000..6c99ccdc
--- /dev/null
+++ b/movement/movement_faces.h
@@ -0,0 +1,48 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 Joey Castillo
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#ifndef MOVEMENT_FACES_H_
+#define MOVEMENT_FACES_H_
+
+#include "simple_clock_face.h"
+#include "world_clock_face.h"
+#include "preferences_face.h"
+#include "set_time_face.h"
+#include "pulsometer_face.h"
+#include "thermistor_readout_face.h"
+#include "thermistor_logging_face.h"
+#include "character_set_face.h"
+#include "beats_face.h"
+#include "day_one_face.h"
+#include "voltage_face.h"
+#include "stopwatch_face.h"
+#include "totp_face.h"
+#include "lis2dh_logging_face.h"
+#include "demo_face.h"
+#include "hello_there_face.h"
+#include "sunrise_sunset_face.h"
+#include "countdown_face.h"
+#include "blinky_face.h"
+
+#endif // MOVEMENT_FACES_H_