aboutsummaryrefslogtreecommitdiffstats
path: root/src/ParseConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParseConfig.h')
-rw-r--r--src/ParseConfig.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ParseConfig.h b/src/ParseConfig.h
new file mode 100644
index 0000000..9e5bda8
--- /dev/null
+++ b/src/ParseConfig.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2024 Konsulko Group
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+#ifndef _PARSE_CONFIG_H
+#define _PARSE_CONFIG_H
+
+#include <string>
+
+#include "GlobalConfig.h"
+#include "KuksaConfig.h"
+#include "MqttConfig.h"
+#include "SignalUpdateHandlers.h"
+
+bool ParseConfig(const std::string &configFile,
+ GlobalConfig &globalConfig,
+ KuksaConfig &kuksaConfig,
+ MqttConfig &mqttConfig,
+ SignalUpdateHandlers &signalHandlers);
+
+#endif // _PARSE_CONFIG_H