Android: Get profile name from core

To avoid duplicating information between Kotlin and C++.
This commit is contained in:
JosJuice
2023-10-01 18:35:01 +02:00
parent b2e016f012
commit d6c0f8e749
19 changed files with 75 additions and 10 deletions

View File

@ -19,6 +19,7 @@
#include "InputCommon/ControllerInterface/CoreDevice.h"
class ControllerInterface;
class InputConfig;
constexpr const char* DIRECTION_UP = _trans("Up");
constexpr const char* DIRECTION_DOWN = _trans("Down");
@ -180,6 +181,8 @@ public:
virtual std::string GetName() const = 0;
virtual std::string GetDisplayName() const;
virtual InputConfig* GetConfig() const = 0;
virtual void LoadDefaults(const ControllerInterface& ciface);
virtual void LoadConfig(Common::IniFile::Section* sec, const std::string& base = "");