20 lines
314 B
C++
20 lines
314 B
C++
#pragma once
|
|
|
|
#include <AModule.hpp>
|
|
|
|
namespace waybar {
|
|
|
|
class Bar;
|
|
|
|
class Factory {
|
|
public:
|
|
Factory(const Bar& bar, const Json::Value& config);
|
|
AModule* makeModule(const std::string& name, const std::string& pos) const;
|
|
|
|
private:
|
|
const Bar& bar_;
|
|
const Json::Value& config_;
|
|
};
|
|
|
|
} // namespace waybar
|