aboutsummaryrefslogtreecommitdiffstats
path: root/app_manager.hpp
blob: 6517ce9022cae3b85302e94efa483f3623dc03d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <vector>
#include "base_app.hpp"

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);
void app_switch_request(int to_appid);