summaryrefslogtreecommitdiff
path: root/linux/runner/my_application.h
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-12-16 16:04:07 +0100
committerOrangerot <purple@orangerot.dev>2024-12-17 09:08:55 +0100
commit08f2adb6397557ac27cf3780aa8f8222cbc51982 (patch)
treef9ee48a8f120e9bcb93f6f172fd88a89f3d45372 /linux/runner/my_application.h
Initial Commit
Diffstat (limited to 'linux/runner/my_application.h')
-rw-r--r--linux/runner/my_application.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/linux/runner/my_application.h b/linux/runner/my_application.h
new file mode 100644
index 0000000..72271d5
--- /dev/null
+++ b/linux/runner/my_application.h
@@ -0,0 +1,18 @@
+#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_