summaryrefslogtreecommitdiff
path: root/src/panel.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/panel.h
initial commit
yup, i definitely wrote all of this in a single commit
Diffstat (limited to 'src/panel.h')
-rw-r--r--src/panel.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/panel.h b/src/panel.h
new file mode 100644
index 0000000..46d7299
--- /dev/null
+++ b/src/panel.h
@@ -0,0 +1,34 @@
+#pragma once
+
+#include <gtk/gtk.h>
+#include "services/configuration-service.h"
+#include "services/battery-service.h"
+#include "services/clock-service.h"
+#include "services/brightness-service.h"
+#include "services/workspace-service.h"
+#include "services/audio-service.h"
+#include "services/network-service.h"
+#include "services/bluetooth-service.h"
+#include "services/notification-service.h"
+
+G_BEGIN_DECLS
+
+#define FOOBAR_TYPE_PANEL foobar_panel_get_type( )
+
+G_DECLARE_FINAL_TYPE( FoobarPanel, foobar_panel, FOOBAR, PANEL, GtkApplicationWindow )
+
+FoobarPanel* foobar_panel_new ( GtkApplication* app,
+ GdkMonitor* monitor,
+ FoobarBatteryService* battery_service,
+ FoobarClockService* clock_service,
+ FoobarBrightnessService* brightness_service,
+ FoobarWorkspaceService* workspace_service,
+ FoobarAudioService* audio_service,
+ FoobarNetworkService* network_service,
+ FoobarBluetoothService* bluetooth_service,
+ FoobarNotificationService* notification_service,
+ FoobarConfigurationService* configuration_service );
+void foobar_panel_apply_configuration( FoobarPanel* self,
+ FoobarPanelConfiguration const* config );
+
+G_END_DECLS \ No newline at end of file