2021-10-31 23:55:13 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gtkmm/box.h>
|
2022-04-06 08:37:19 +02:00
|
|
|
#include <gtkmm/widget.h>
|
2021-10-31 23:55:13 +01:00
|
|
|
#include <json/json.h>
|
2022-04-06 08:37:19 +02:00
|
|
|
|
2021-10-31 23:55:13 +01:00
|
|
|
#include "AModule.hpp"
|
|
|
|
#include "bar.hpp"
|
|
|
|
#include "factory.hpp"
|
|
|
|
|
|
|
|
namespace waybar {
|
|
|
|
|
|
|
|
class Group : public AModule {
|
|
|
|
public:
|
|
|
|
Group(const std::string&, const Bar&, const Json::Value&);
|
|
|
|
~Group() = default;
|
|
|
|
auto update() -> void;
|
2022-04-06 08:37:19 +02:00
|
|
|
operator Gtk::Widget&();
|
2021-10-31 23:55:13 +01:00
|
|
|
Gtk::Box box;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace waybar
|