diff options
Diffstat (limited to 'app_manager.hpp')
-rw-r--r-- | app_manager.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app_manager.hpp b/app_manager.hpp index 6517ce9..b1d7a9c 100644 --- a/app_manager.hpp +++ b/app_manager.hpp @@ -4,8 +4,8 @@ extern std::vector<BaseApp*> open_apps; -int app_init(int app_id); -int app_render(int app_id); -int app_btnpressed(int app_id, uint gpio, unsigned long delta); -void app_switch(int old_appid, int new_appid); +BaseApp* app_init(int app_id); +int app_render(BaseApp* app); +int app_btnpressed(BaseApp* app, uint gpio, unsigned long delta); +void app_switch(BaseApp* app, int new_appid); void app_switch_request(int to_appid); |