waybar/include/IModule.hpp

13 lines
202 B
C++
Raw Normal View History

2018-08-09 12:05:48 +02:00
#pragma once
2018-08-12 20:25:19 +02:00
#include <gtkmm.h>
2018-08-09 12:05:48 +02:00
namespace waybar {
class IModule {
public:
virtual ~IModule() {}
virtual auto update() -> void = 0;
virtual operator Gtk::Widget &() = 0;
};
}