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.
23 lines
386 B
23 lines
386 B
#include "inputconvertbase.h"
|
|
#include "controller.h"
|
|
|
|
InputConvertBase::InputConvertBase(Controller* controller)
|
|
: QObject(controller)
|
|
, m_controller(controller)
|
|
{
|
|
Q_ASSERT(controller);
|
|
}
|
|
|
|
InputConvertBase::~InputConvertBase()
|
|
{
|
|
|
|
}
|
|
|
|
void InputConvertBase::sendControlMsg(ControlMsg *msg)
|
|
{
|
|
if (msg && m_controller) {
|
|
m_controller->postControlMsg(msg);
|
|
}
|
|
}
|
|
|