21 #include "Typedefs.hpp" 22 #include "usbguard/Logger.hpp" 30 class ConfigFilePrivate;
47 ConfigFile(
const std::vector<std::string>& known_names = std::vector<std::string>());
67 void open(
const std::string& path,
bool readonly =
false);
92 void setSettingValue(
const std::string& name, std::string& value);
101 bool hasSettingValue(
const std::string& name)
const;
109 const std::string& getSettingValue(
const std::string& name)
const;
112 std::unique_ptr<ConfigFilePrivate> d_pointer;
Enables manipulation with the config file and its settings.
Definition: ConfigFile.hpp:36