mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
InputCommon: Rename class InputPlugin to InputConfig
This commit is contained in:
@ -7,14 +7,14 @@
|
||||
#include "Core/HW/Wiimote.h"
|
||||
#include "InputCommon/InputConfig.h"
|
||||
|
||||
InputPlugin::~InputPlugin()
|
||||
InputConfig::~InputConfig()
|
||||
{
|
||||
// delete pads
|
||||
for (ControllerEmu* pad : controllers)
|
||||
delete pad;
|
||||
}
|
||||
|
||||
bool InputPlugin::LoadConfig(bool isGC)
|
||||
bool InputConfig::LoadConfig(bool isGC)
|
||||
{
|
||||
IniFile inifile;
|
||||
IniFile game_ini;
|
||||
@ -94,7 +94,7 @@ bool InputPlugin::LoadConfig(bool isGC)
|
||||
}
|
||||
}
|
||||
|
||||
void InputPlugin::SaveConfig()
|
||||
void InputConfig::SaveConfig()
|
||||
{
|
||||
std::string ini_filename = File::GetUserPath(D_CONFIG_IDX) + ini_name + ".ini";
|
||||
|
||||
|
@ -14,17 +14,14 @@
|
||||
#include "InputCommon/ControllerEmu.h"
|
||||
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
||||
|
||||
// InputPlugin isn't a very good name anymore since it's used by GCPad/Wiimote
|
||||
// which are not even plugins anymore.
|
||||
class InputPlugin
|
||||
class InputConfig
|
||||
{
|
||||
public:
|
||||
|
||||
InputPlugin(const char* const _ini_name, const char* const _gui_name,
|
||||
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) {}
|
||||
|
||||
~InputPlugin();
|
||||
~InputConfig();
|
||||
|
||||
bool LoadConfig(bool isGC);
|
||||
void SaveConfig();
|
||||
|
Reference in New Issue
Block a user