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