waybar/include/IModule.hpp
2019-06-15 14:57:52 +02:00

15 lines
235 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