Initial content commit

This commit is contained in:
Ken Van Hoeylandt
2025-09-23 21:33:04 +02:00
parent 5a89c6c7fb
commit 755c6407d3
38 changed files with 4289 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#include <tt_app.h>
#include "Calculator.h"
static void onShow(AppHandle appHandle, void* data, lv_obj_t* parent) {
static_cast<Calculator*>(data)->onShow(appHandle, parent);
}
static void* createApp() {
return new Calculator();
}
static void destroyApp(void* app) {
delete static_cast<Calculator*>(app);
}
ExternalAppManifest manifest = {
.createData = createApp,
.destroyData = destroyApp,
.onShow = onShow,
};
extern "C" {
int main(int argc, char* argv[]) {
tt_app_register(&manifest);
return 0;
}
}