waybar/include/IModule.hpp
2018-08-16 14:29:41 +02:00

15 lines
193 B
C++

#pragma once
#include <gtkmm.h>
namespace waybar {
class IModule {
public:
virtual ~IModule() {}
virtual auto update() -> void = 0;
virtual operator Gtk::Widget &() = 0;
};
}