From 1af3d14f3f995645a0de08a54b244c19840709e9 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 19 Jun 2025 23:17:58 +0200 Subject: init hs project --- csrc/panel.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 csrc/panel.h (limited to 'csrc/panel.h') 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 +#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 -- cgit v1.3.1