summaryrefslogtreecommitdiff
path: root/linux/runner/my_application.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-12-22 21:25:02 +0100
committerxengineering <me@xengineering.eu>2025-12-22 21:25:02 +0100
commit1e8a6233b8c50fb0ad429d91e2937a7917915347 (patch)
tree6984b8927c0d4a78e993ebd19b87c762b3e47213 /linux/runner/my_application.h
parentf849461c9200a098b9903739b54bf702abfc490b (diff)
downloadsia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.tar
sia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.tar.zst
sia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.zip
Create flutter projectHEADmain
This was done using the following command. flutter create \ --description "Sia app" \ --org "eu.xengineering" \ --project-name "sia_app" \ --platforms linux,android \ --empty \ .
Diffstat (limited to 'linux/runner/my_application.h')
-rw-r--r--linux/runner/my_application.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/linux/runner/my_application.h b/linux/runner/my_application.h
new file mode 100644
index 0000000..db16367
--- /dev/null
+++ b/linux/runner/my_application.h
@@ -0,0 +1,21 @@
+#ifndef FLUTTER_MY_APPLICATION_H_
+#define FLUTTER_MY_APPLICATION_H_
+
+#include <gtk/gtk.h>
+
+G_DECLARE_FINAL_TYPE(MyApplication,
+ my_application,
+ MY,
+ APPLICATION,
+ GtkApplication)
+
+/**
+ * my_application_new:
+ *
+ * Creates a new Flutter-based application.
+ *
+ * Returns: a new #MyApplication.
+ */
+MyApplication* my_application_new();
+
+#endif // FLUTTER_MY_APPLICATION_H_