mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 04:37:14 -05:00
rewrite for UI
This commit is contained in:
30
settings.h
30
settings.h
@@ -1,30 +0,0 @@
|
||||
#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();
|
||||
pair<vector<string>, vector<string>> getSceneRoundTrip();
|
||||
vector<string> getPauseScenes();
|
||||
vector<string> getIgnoreNames();
|
||||
string getSettingsFilePath();
|
||||
void setSettingsFilePath(string path);
|
||||
private:
|
||||
string settingsFilePath = "";
|
||||
map<string, Data> settings;
|
||||
pair<vector<string>, vector<string>> sceneRoundTrip;
|
||||
vector<string> pauseScenes;
|
||||
vector<string> ignoreNames;
|
||||
bool startMessageDisable = false;
|
||||
};
|
||||
Reference in New Issue
Block a user