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;
|
|
|
|
};
|
|
|
|
}
|