mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
20 lines
335 B
C++
20 lines
335 B
C++
#pragma once
|
|
|
|
#include <json/json.h>
|
|
#include "IModule.hpp"
|
|
|
|
namespace waybar {
|
|
|
|
class ALabel : public IModule {
|
|
public:
|
|
ALabel(const Json::Value&);
|
|
virtual ~ALabel() = default;
|
|
virtual auto update() -> void;
|
|
virtual operator Gtk::Widget &();
|
|
protected:
|
|
Gtk::Label label_;
|
|
const Json::Value& config_;
|
|
};
|
|
|
|
}
|