Emu?
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.
 
 

32 lines
594 B

/* PlipInputDefinition.h
*
* Allows the core to define an input for the frontend to handle.
*/
#pragma once
#include <string>
namespace Plip {
union PlipInputData {
bool digital = false;
};
enum class PlipInputType {
Digital
};
class PlipInputDefinition {
public:
PlipInputDefinition(PlipInputType type, const std::string &description);
std::string GetDescription() const;
PlipInputType GetType() const;
PlipInputData data;
private:
PlipInputType m_type;
std::string m_description;
};
}