aboutsummaryrefslogtreecommitdiff
path: root/src/Settings/loadsettings.h
blob: 540e1a9d1c24fd4539229cace13895e6e5db49ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LOADSETTINGS_H
#define LOADSETTINGS_H

#include <QFile>
#include <QSettings>

#include "Logger/logprimitive.h"
#include "settingstructure.h"

// settings path (following README structure)
const QString _settingsPath = "../data/MasterServer-Settings.ini";

// load all settings from the config file
SettingStructure loadSettings(const QString &applicationPath);

// write all settings to the config file
void writeSettings(const QString &settingsFilePath);

#endif // LOADSETTINGS_H