Updated the config.h

This commit is contained in:
Mathias Wagner 2023-10-29 14:39:39 +01:00
parent a5d30402cb
commit 04904c04bc
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -9,9 +9,10 @@ class config {
public: public:
/** /**
* Reads the config file and returns a json object. * Reads the config file and returns a json object.
* @param path path to the config file
* @return json object * @return json object
*/ */
static json read_config(); static json read_config(const std::string& path);
/** /**
* Checks if the config file is valid. * Checks if the config file is valid.