Files
eden/src/yuzu_cmd/config.h
T

25 lines
455 B
C++
Raw Normal View History

2014-09-12 17:06:13 -07:00
// Copyright 2014 Citra Emulator Project
2014-12-16 21:38:14 -08:00
// Licensed under GPLv2 or any later version
2014-09-12 17:06:13 -07:00
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <string>
class INIReader;
2014-09-12 17:06:13 -07:00
class Config {
std::unique_ptr<INIReader> sdl2_config;
2016-03-01 17:24:18 +00:00
std::string sdl2_config_loc;
2014-09-12 17:06:13 -07:00
2016-09-18 09:38:01 +09:00
bool LoadINI(const std::string& default_contents = "", bool retry = true);
2014-11-15 11:56:18 -08:00
void ReadValues();
2016-09-18 09:38:01 +09:00
2014-09-12 17:06:13 -07:00
public:
Config();
~Config();
2014-09-12 17:06:13 -07:00
void Reload();
};