Files
bar/include/app.hpp

27 lines
527 B
C++

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