waybar/include/IModule.hpp
2018-08-20 14:50:45 +02:00

16 lines
276 B
C++

#pragma once
#include <gtkmm.h>
namespace waybar {
class IModule {
public:
virtual ~IModule() = default;
virtual auto update() -> void = 0;
virtual operator Gtk::Widget &() = 0;
Glib::Dispatcher dp; // Hmmm Maybe I should create an abstract class ?
};
}