summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/utils/config-parser.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-19 18:28:18 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-19 18:28:18 +0200
commit72c5952a96f5bab01aef02f373a96a2a12f750bb (patch)
tree3e120f38f68b6a728bf170b8a158cba919e45642 /CAN-binder/low-can-binding/utils/config-parser.hpp
parent56029abd64b55faefef75b49a58905ec391e0c6d (diff)
Change INI file parser library.
Much simpler but also a bit limitated. Could be change easily in futur if needed Change-Id: I06f03f093c9206007e3d0c1e86a35d60111be5f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/utils/config-parser.hpp')
-rw-r--r--CAN-binder/low-can-binding/utils/config-parser.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/CAN-binder/low-can-binding/utils/config-parser.hpp b/CAN-binder/low-can-binding/utils/config-parser.hpp
index 2d504857..a181d9e0 100644
--- a/CAN-binder/low-can-binding/utils/config-parser.hpp
+++ b/CAN-binder/low-can-binding/utils/config-parser.hpp
@@ -24,7 +24,7 @@
#include <string>
#include <vector>
-#include "INIReader.h"
+#include "ini-config.hpp"
namespace utils
{
@@ -33,10 +33,9 @@ namespace utils
class config_parser_t
{
private:
- INIReader config_content_; /*!< config_content_ - Parsed content of INI file.*/
+ ini_config config_content_; /*!< config_content_ - Parsed content of INI file.*/
public:
- config_parser_t(int conf_file);
config_parser_t(std::string conf_file);
bool check_conf();