aboutsummaryrefslogtreecommitdiffstats
path: root/src/ParseConfig.h
blob: 9e5bda8638b112674ee8a3413b038e440999fa45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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