--- /dev/null
+#ifndef _OSWALD_H
+#define _OSWALD_H
+
+typedef signed char s8t;
+typedef unsigned char u8t;
+typedef u8t boolean;
+#ifdef TRUE
+#undef TRUE
+#endif
+#define TRUE 1
+#ifdef FALSE
+#undef FALSE
+#endif
+#define FALSE 0
+#ifndef NULL
+#define NULL 0
+#endif
+
+typedef struct {
+ u8t hour;
+ u8t minute;
+ u8t second;
+ u8t day;
+ u8t month;
+ u8t year;
+} clock_state;
+
+typedef enum {
+ IDLE_SCREEN = 0,
+ APPLICATION_SCREEN,
+} screen_number;
+
+typedef enum {
+ BUTTON_A = 0,
+ BUTTON_B,
+ BUTTON_C,
+ BUTTON_D,
+ BUTTON_E,
+ BUTTON_F,
+} watch_button;
+
+typedef struct {
+ screen_number screen;
+ void (*idle_draw_func)(boolean show_seconds);
+ boolean idle_show_seconds;
+} watch_state;
+
+
+#endif
+