Files
bar/include/app.hpp
2026-01-31 22:46:19 +01:00

26 lines
539 B
C++

#pragma once
#include <vector>
#include "bar/bar.hpp"
#include "services/hyprland.hpp"
#include "services/notification.hpp"
#include "glibmm/refptr.h"
#include "gtkmm/application.h"
class App {
public:
App();
int run();
private:
Glib::RefPtr<Gtk::Application> app;
std::vector<std::shared_ptr<Bar>> bars;
std::shared_ptr<NotificationService> notificationService = nullptr;
HyprlandService *hyprlandService = nullptr;
TrayService *trayService = TrayService::getInstance();
void setupServices();
};