aboutsummaryrefslogtreecommitdiffstats
path: root/apps/main_clock.hpp
blob: 72e02a4a7bc663f91bbfe56ad47d8a9fa2e34cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __MAIN_CLOCK_H__
#define __MAIN_CLOCK_H__

#include "pico/util/datetime.h"
#include "../oled/ss_oled.h"

#include "../api.hpp"

namespace app_main_clock {
    int init(Api *app_api);
    int render(Api *app_api);
    int btnpressed(Api *app_api, uint gpio, unsigned long delta);
    int bgrefresh(Api *app_api, bool in_foreground);
    int destroy(Api *app_api);
}

#endif