Updated the config.h
This commit is contained in:
parent
a5d30402cb
commit
04904c04bc
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user