config.h 455 B

123456789101112131415161718192021222324
  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 <memory>
  6. #include <string>
  7. class INIReader;
  8. class Config {
  9. std::unique_ptr<INIReader> sdl2_config;
  10. std::string sdl2_config_loc;
  11. bool LoadINI(const std::string& default_contents = "", bool retry = true);
  12. void ReadValues();
  13. public:
  14. Config();
  15. ~Config();
  16. void Reload();
  17. };