refactor(modules): Move setup to constructor
This commit is contained in:
parent
81e6fb062f
commit
c01f111e34
52 changed files with 100 additions and 149 deletions
include/modules
|
@ -17,9 +17,8 @@ namespace modules {
|
|||
|
||||
class backlight_module : public inotify_module<backlight_module> {
|
||||
public:
|
||||
using inotify_module::inotify_module;
|
||||
explicit backlight_module(const bar_settings&, string);
|
||||
|
||||
void setup();
|
||||
void idle();
|
||||
bool on_event(inotify_event* event);
|
||||
bool build(builder* builder, const string& tag) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue