diff options
Diffstat (limited to 'apps/home_menu.hpp')
-rw-r--r-- | apps/home_menu.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/home_menu.hpp b/apps/home_menu.hpp index ebcc451..033dc6b 100644 --- a/apps/home_menu.hpp +++ b/apps/home_menu.hpp @@ -4,12 +4,14 @@ #include "pico/util/datetime.h" #include "../oled/ss_oled.h" +#include "../api.hpp" + namespace app_home_menu { - int init(SSOLED *oled); - int render(SSOLED *oled); - int btnpressed(SSOLED *oled, uint gpio); - int bgrefresh(SSOLED *oled, char in_foreground); - int destroy(SSOLED *oled); + int init(Api *app_api); + int render(Api *app_api); + int btnpressed(Api *app_api, uint gpio); + int bgrefresh(Api *app_api, char in_foreground); + int destroy(Api *app_api); } #endif |