blob: 42b0d3c5934fafe24c7828db2ac91e24356f4aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef SIMPLE_CLOCK_WIDGET_H_
#define SIMPLE_CLOCK_WIDGET_H_
#include "launcher.h"
void simple_clock_widget_setup(LauncherSettings *settings, void ** context_ptr);
void simple_clock_widget_activate(LauncherSettings *settings, void *context);
void simple_clock_widget_loop(LauncherEvent event, LauncherSettings *settings, void *context);
void simple_clock_widget_resign(LauncherSettings *settings, void *context);
uint8_t simple_clock_widget_get_weekday(uint16_t day, uint16_t month, uint16_t year);
#define simple_clock_widget { \
simple_clock_widget_setup, \
simple_clock_widget_activate, \
simple_clock_widget_loop, \
simple_clock_widget_resign, \
}
#endif // FAKE_WIDGET_H_
|