summaryrefslogtreecommitdiff
path: root/csrc/panel.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/panel.h
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
Diffstat (limited to 'csrc/panel.h')
-rw-r--r--csrc/panel.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/csrc/panel.h b/csrc/panel.h
new file mode 100644
index 0000000..e64a7d7
--- /dev/null
+++ b/csrc/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