Files
bar/include/app.hpp

24 lines
430 B
C++

#pragma once
#include <vector>
#include "bar/bar.hpp"
#include "services/hyprland.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;
HyprlandService *hyprlandService = nullptr;
TrayService *trayService = TrayService::getInstance();
void setupServices();
};