sudo and doxygen

This commit is contained in:
2020-06-01 23:23:23 +02:00
parent 3387aa7ca1
commit fda48edaf0
9 changed files with 237 additions and 23 deletions

View File

@@ -6,7 +6,20 @@
class config_reader
{
public:
config_reader(std::string);
/**
* @brief config_reader
* Generate a objet to extract info to a config file
* @param path File path to extract the file
*/
config_reader(std::string path);
/**
* @brief get_param
* Permit extract a value in a config file
* @param variable Name of a field to extract the info
* @param value Info extracted
* @return True if the field exists, false if not
*/
bool get_param(std::string variable, std::string &value);
private:
std::ifstream file;