diff options
Diffstat (limited to 'apps/tests/main.hpp')
-rw-r--r-- | apps/tests/main.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/tests/main.hpp b/apps/tests/main.hpp new file mode 100644 index 0000000..471c172 --- /dev/null +++ b/apps/tests/main.hpp @@ -0,0 +1,19 @@ +#pragma once + +// Includes also buttons, API and ss_oled +#include "../../app/base_app.hpp" + +class app_tests : public BaseApp { + private: + AppAttributes app_attributes = {3, true}; + public: + const AppAttributes& app_get_attributes() { + return app_attributes; + } + + app_tests(Api *app_api); + AppReturnValues render(Api *app_api); + AppReturnValues btn_pressed(Api *app_api, uint gpio, unsigned long delta); + AppReturnValues bgrefresh(Api *app_api, bool in_foreground); + ~app_tests(); +}; |