2019-08-17 19:40:58 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common/IniFile.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace InputCommon
|
|
|
|
{
|
2021-02-15 02:47:00 +00:00
|
|
|
namespace DynamicInputTextures
|
|
|
|
{
|
|
|
|
class Configuration;
|
|
|
|
}
|
2019-08-17 19:40:58 +00:00
|
|
|
class DynamicInputTextureManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DynamicInputTextureManager();
|
|
|
|
~DynamicInputTextureManager();
|
|
|
|
void Load();
|
2021-02-27 22:41:50 +00:00
|
|
|
void GenerateTextures(const IniFile& file, const std::vector<std::string>& controller_names);
|
2019-08-17 19:40:58 +00:00
|
|
|
|
|
|
|
private:
|
2021-02-15 02:47:00 +00:00
|
|
|
std::vector<DynamicInputTextures::Configuration> m_configuration;
|
2019-08-17 19:40:58 +00:00
|
|
|
std::string m_config_type;
|
|
|
|
};
|
|
|
|
} // namespace InputCommon
|