This commit is contained in:
Alex
2018-08-20 14:50:45 +02:00
committed by GitHub
parent b7e3d10fb7
commit 49232eed8d
30 changed files with 261 additions and 235 deletions

View File

@ -15,11 +15,11 @@ namespace waybar {
class Factory {
public:
Factory(Bar &bar, Json::Value config);
IModule* makeModule(const std::string &name);
Factory(Bar& bar, const Json::Value& config);
IModule* makeModule(const std::string &name) const;
private:
Bar &_bar;
Json::Value _config;
Bar& bar_;
const Json::Value& config_;
};
}