Files
eden/src/citra/config.h
T

23 lines
450 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>
2014-09-12 17:06:13 -07:00
#include <inih/cpp/INIReader.h>
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
bool LoadINI(const std::string& default_contents="", bool retry=true);
2014-11-15 11:56:18 -08:00
void ReadValues();
2014-09-12 17:06:13 -07:00
public:
Config();
void Reload();
};