blob: b8c9fe2d733e91f26bda50570a83e59d3906a7f1 [file] [log] [blame]
#pragma once
#include <sdbusplus/async.hpp>
#include <set>
#include <string>
namespace cable
{
class Config
{
public:
static constexpr auto configFileDir = "/var/lib/cablemonitor";
static constexpr auto configFileName = "cable-config.json";
explicit Config() = default;
using Cables = std::set<std::string>;
/** Process the configuration file */
static auto processConfig(std::string configFile)
-> sdbusplus::async::task<Cables>;
};
} // namespace cable