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.
|
|
|
/* PlipInputDefinition.cpp
|
|
|
|
*
|
|
|
|
* Allows the core to define an input for the frontend to handle.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "PlipInputDefinition.h"
|
|
|
|
|
|
|
|
namespace Plip {
|
|
|
|
PlipInputDefinition::PlipInputDefinition(PlipInputType type, const std::string &description) {
|
|
|
|
m_type = type;
|
|
|
|
m_description = description;
|
|
|
|
}
|
|
|
|
|
|
|
|
PlipInputData PlipInputDefinition::GetData() const {
|
|
|
|
return m_data;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string PlipInputDefinition::GetDescription() const {
|
|
|
|
return m_description;
|
|
|
|
}
|
|
|
|
|
|
|
|
PlipInputType PlipInputDefinition::GetType() const {
|
|
|
|
return m_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PlipInputDefinition::SetData(PlipInputData data) {
|
|
|
|
m_data = data;
|
|
|
|
}
|
|
|
|
}
|