mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
22 lines
393 B
C++
22 lines
393 B
C++
#pragma once
|
|
|
|
#include <json/json.h>
|
|
#include "modules/clock.hpp"
|
|
#include "modules/workspaces.hpp"
|
|
#include "modules/battery.hpp"
|
|
#include "modules/memory.hpp"
|
|
#include "modules/cpu.hpp"
|
|
|
|
namespace waybar {
|
|
|
|
class Factory {
|
|
public:
|
|
Factory(Bar &bar, Json::Value config);
|
|
IModule &makeModule(std::string name);
|
|
private:
|
|
Bar &_bar;
|
|
Json::Value _config;
|
|
};
|
|
|
|
}
|