mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
29 lines
594 B
C++
29 lines
594 B
C++
#pragma once
|
|
#include <map>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
struct Data {
|
|
string sceneName = "";
|
|
bool isFullscreen = false;
|
|
};
|
|
|
|
class Settings {
|
|
public:
|
|
void load();
|
|
bool getStartMessageDisable();
|
|
map<string, Data> getMap();
|
|
vector<string> getSceneRoundTrip();
|
|
vector<string> getPauseScenes();
|
|
string getSettingsFilePath();
|
|
void setSettingsFilePath(string path);
|
|
private:
|
|
string settingsFilePath = "";
|
|
map<string, Data> settings;
|
|
vector<string> sceneRoundTrip;
|
|
vector<string>pauseScenes;
|
|
bool startMessageDisable = false;
|
|
};
|