summaryrefslogtreecommitdiffstats
path: root/app_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app_manager.hpp')
-rw-r--r--app_manager.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/app_manager.hpp b/app_manager.hpp
new file mode 100644
index 0000000..6517ce9
--- /dev/null
+++ b/app_manager.hpp
@@ -0,0 +1,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);