mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
e25a7c9719
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
16 lines
283 B
C++
16 lines
283 B
C++
#pragma once
|
|
|
|
#include <gtkmm/widget.h>
|
|
|
|
namespace waybar {
|
|
|
|
class IModule {
|
|
public:
|
|
virtual ~IModule() = default;
|
|
virtual auto update() -> void = 0;
|
|
virtual operator Gtk::Widget&() = 0;
|
|
virtual auto doAction(const std::string& name) -> void = 0;
|
|
};
|
|
|
|
} // namespace waybar
|