pineapple-src/src/yuzu_cmd/config.h

26 lines
487 B
C
Raw Normal View History

2020-12-28 15:15:37 +00:00
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
2021-05-08 07:49:31 +00:00
#include <filesystem>
2020-12-28 15:15:37 +00:00
#include <memory>
#include <string>
class INIReader;
class Config {
std::unique_ptr<INIReader> sdl2_config;
2021-05-08 07:49:31 +00:00
std::filesystem::path sdl2_config_loc;
2020-12-28 15:15:37 +00:00
bool LoadINI(const std::string& default_contents = "", bool retry = true);
void ReadValues();
public:
Config();
~Config();
void Reload();
};