waybar/include/IModule.hpp
2022-04-06 08:37:19 +02:00

15 lines
221 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;
};
} // namespace waybar