mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +00:00
2aaf9105af
Save Browser state to the client config
32 lines
604 B
C++
32 lines
604 B
C++
//
|
|
// Created by koncord on 31.03.18.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <components/settings/settings.hpp>
|
|
|
|
namespace Ui
|
|
{
|
|
class MainWindow;
|
|
}
|
|
|
|
class SettingsMgr
|
|
{
|
|
public:
|
|
SettingsMgr();
|
|
|
|
void loadBrowserSettings(Ui::MainWindow &mw);
|
|
void saveBrowserSettings(Ui::MainWindow &mw);
|
|
|
|
void loadClientSettings(Ui::MainWindow &mw);
|
|
void saveClientSettings(Ui::MainWindow &mw);
|
|
|
|
void loadServerSettings(Ui::MainWindow &mw);
|
|
void saveServerSettings(Ui::MainWindow &mw);
|
|
|
|
private:
|
|
Settings::Manager serverMgr, clientMgr;
|
|
std::string serverCfg, clientCfg;
|
|
void switchMgr();
|
|
};
|