1 // Copyright 2014 Citra Emulator Project 2 // Licensed under GPLv2 or any later version 3 // Refer to the license.txt file included. 4 5 #pragma once 6 7 #include <memory> 8 #include <string> 9 10 class INIReader; 11 12 class Config { 13 std::unique_ptr<INIReader> sdl2_config; 14 std::string sdl2_config_loc; 15 16 bool LoadINI(const std::string& default_contents = "", bool retry = true); 17 void ReadValues(); 18 19 public: 20 Config(); 21 ~Config(); 22 23 void Reload(); 24 }; 25