You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
513 B
27 lines
513 B
4 years ago
|
/* PlipInput.h
|
||
|
*
|
||
|
* Provides an interface between the emulation core and the frontend.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <map>
|
||
|
#include <string>
|
||
|
|
||
|
#include "PlipInputDefinition.h"
|
||
|
|
||
|
namespace Plip {
|
||
|
class PlipInput {
|
||
|
public:
|
||
|
void AddInput(int id, const PlipInputDefinition &input);
|
||
|
void AddInput(std::map<int, PlipInputDefinition> inputList);
|
||
|
void ClearInput();
|
||
|
|
||
|
protected:
|
||
|
PlipInput() = default;
|
||
|
|
||
|
private:
|
||
|
std::map<int, PlipInputDefinition> m_coreInput;
|
||
|
};
|
||
|
}
|