refactor(modules): Get rid of .inl files

This commit is contained in:
Michael Carlberg 2016-12-21 09:21:35 +01:00
parent 7979f5b3d4
commit 788a7ca3a3
31 changed files with 144 additions and 276 deletions
include/modules

View file

@ -6,16 +6,6 @@
#include "modules/meta/base.hpp"
#include "modules/meta/base.inl"
#if not(ENABLE_ALSA && ENABLE_I3 && ENABLE_MPD)
#include "modules/meta/event_module.inl"
#endif
#if not(ENABLE_NETWORK && ENABLE_CURL)
#include "modules/meta/timer_module.inl"
#endif
#if not WITH_XKB
#include "modules/meta/static_module.inl"
#endif
POLYBAR_NS
namespace modules {
@ -39,12 +29,6 @@ namespace modules {
string contents() { \
return ""; \
} \
bool handle_event(string) { \
return false; \
} \
bool receive_events() const { \
return false; \
} \
void set_update_cb(callback<>&&) {} \
void set_stop_cb(callback<>&&) {} \
}