config.h 457 B

12345678910111213141516171819202122
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <string>
  6. class INIReader;
  7. class Config {
  8. INIReader* glfw_config;
  9. std::string glfw_config_loc;
  10. bool LoadINI(INIReader* config, const char* location, const std::string& default_contents="", bool retry=true);
  11. void ReadValues();
  12. public:
  13. Config();
  14. ~Config();
  15. void Reload();
  16. };