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.
21 lines
512 B
21 lines
512 B
4 years ago
|
/* PlipInput.cpp
|
||
|
*
|
||
|
* Provides an interface between the emulation core and the frontend.
|
||
|
*/
|
||
|
|
||
|
#include "PlipInput.h"
|
||
|
|
||
|
namespace Plip {
|
||
|
void PlipInput::AddInput(int id, const PlipInputDefinition& input) {
|
||
|
m_coreInput.insert(std::pair<int, PlipInputDefinition>(id, input));
|
||
|
}
|
||
|
|
||
|
void PlipInput::AddInput(std::map<int, PlipInputDefinition> inputList) {
|
||
|
m_coreInput.insert(inputList.begin(), inputList.end());
|
||
|
}
|
||
|
|
||
|
void PlipInput::ClearInput() {
|
||
|
m_coreInput.clear();
|
||
|
}
|
||
|
}
|