refactor(modules): Move setup to constructor

This commit is contained in:
Michael Carlberg 2016-12-21 08:00:09 +01:00
parent 81e6fb062f
commit c01f111e34
52 changed files with 100 additions and 149 deletions
include/modules

View file

@ -36,9 +36,9 @@ namespace modules {
bool focused{false};
};
using event_module::event_module;
public:
explicit bspwm_module(const bar_settings&, string);
void setup();
void stop();
bool has_event();
bool update();