summaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2024-05-06 13:42:55 +0200
committerHannes Schulze <haschu0103@outlook.de>2024-05-06 14:33:54 +0200
commit37d5ef75306c45ca95550f4af40d9750c5b9cb88 (patch)
tree7125c8e8445eeecb86097bc99bb2d1febfb7e2a5 /src/application.h
initial commit
yup, i definitely wrote all of this in a single commit
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h
new file mode 100644
index 0000000..efd517a
--- /dev/null
+++ b/src/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 \ No newline at end of file