diff options
author | bunnei <bunneidev@gmail.com> | 2019-06-21 11:42:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 11:42:38 -0400 |
commit | 100ed88e15e9ece96506795aa8a079a55cdbad57 (patch) | |
tree | 9b961f52134c9a7f8bee354828b8bf6e5dc9205b /src/yuzu_tester/config.h | |
parent | 80a8456af85950fb187ae77fb203019044adc8c7 (diff) | |
parent | 3a26b49c2cfb50f312bca63b897480c10bc6329c (diff) |
Merge pull request #2291 from DarkLordZach/homebrew-testing
yuzu_tester: Add and implement testing utility for homebrew
Diffstat (limited to 'src/yuzu_tester/config.h')
-rw-r--r-- | src/yuzu_tester/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/yuzu_tester/config.h b/src/yuzu_tester/config.h new file mode 100644 index 000000000..3b68e5bc9 --- /dev/null +++ b/src/yuzu_tester/config.h @@ -0,0 +1,24 @@ +// Copyright 2019 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <memory> +#include <string> + +class INIReader; + +class Config { + std::unique_ptr<INIReader> sdl2_config; + std::string sdl2_config_loc; + + bool LoadINI(const std::string& default_contents = "", bool retry = true); + void ReadValues(); + +public: + Config(); + ~Config(); + + void Reload(); +}; |