refactor: Fwd declare drawtypes

Ref 
This commit is contained in:
Michael Carlberg 2016-11-19 15:49:03 +01:00
parent 38f9ba81cd
commit 88c8bbd940
32 changed files with 110 additions and 84 deletions
include/components

View file

@ -4,7 +4,6 @@
#include "components/config.hpp"
#include "components/types.hpp"
#include "config.hpp"
#include "drawtypes/label.hpp"
POLYBAR_NS
@ -14,6 +13,14 @@ POLYBAR_NS
#define BUILDER_SPACE_TOKEN "%__"
#endif
// fwd decl
namespace drawtypes {
class label;
using label_t = shared_ptr<label>;
using icon = label;
using icon_t = label_t;
}
using namespace drawtypes;
class builder {