diff options
| author | Jules Blok <jules.blok@gmail.com> | 2015-06-10 00:00:12 +0200 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2015-06-10 00:00:12 +0200 |
| commit | 7dfced21a2e5aac7195e0e1ad76468e30306766b (patch) | |
| tree | bd671b639d3d911460b767caabad8fc8a759a6bf /Source/Core/InputCommon/InputConfig.h | |
| parent | c25be031fc1031d795157d8344b87b7841145197 (diff) | |
| parent | 7b0a65e295c784f9d573f2ef52d4e2a7b9bb2889 (diff) | |
Merge branch 'master' into stable
Diffstat (limited to 'Source/Core/InputCommon/InputConfig.h')
| -rw-r--r-- | Source/Core/InputCommon/InputConfig.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/InputConfig.h b/Source/Core/InputCommon/InputConfig.h new file mode 100644 index 0000000000..d827e25927 --- /dev/null +++ b/Source/Core/InputCommon/InputConfig.h @@ -0,0 +1,32 @@ +// Copyright 2010 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#pragma once + +#include <map> +#include <vector> + +#include "Common/FileUtil.h" +#include "Common/IniFile.h" +#include "Common/Thread.h" + +#include "InputCommon/ControllerEmu.h" +#include "InputCommon/ControllerInterface/ControllerInterface.h" + +class InputConfig +{ +public: + InputConfig(const char* const _ini_name, const char* const _gui_name, + const char* const _profile_name) + : ini_name(_ini_name), gui_name(_gui_name), profile_name(_profile_name) {} + + bool LoadConfig(bool isGC); + void SaveConfig(); + + std::vector<ControllerEmu*> controllers; + + const char* const ini_name; + const char* const gui_name; + const char* const profile_name; +}; |
