config.h 484 B

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