summaryrefslogtreecommitdiff
path: root/csrc/application.h
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
commit1af3d14f3f995645a0de08a54b244c19840709e9 (patch)
tree3c4098863d8a8fd004a2acc8912a23b6036ab4dd /csrc/application.h
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
Diffstat (limited to 'csrc/application.h')
-rw-r--r--csrc/application.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/csrc/application.h b/csrc/application.h
new file mode 100644
index 0000000..c5353c3
--- /dev/null
+++ b/csrc/application.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <gtk/gtk.h>
+#include "services/configuration-service.h"
+
+G_BEGIN_DECLS
+
+#define FOOBAR_TYPE_APPLICATION foobar_application_get_type( )
+#define FOOBAR_APPLICATION_DEFAULT FOOBAR_APPLICATION( g_application_get_default( ) )
+
+G_DECLARE_FINAL_TYPE( FoobarApplication, foobar_application, FOOBAR, APPLICATION, GtkApplication )
+
+FoobarApplication* foobar_application_new ( void );
+void foobar_application_toggle_launcher ( FoobarApplication* self );
+void foobar_application_toggle_control_center( FoobarApplication* self );
+void foobar_application_apply_configuration ( FoobarApplication* self,
+ FoobarGeneralConfiguration const* config );
+
+G_END_DECLS