forked from Sepanta/console-emulator
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
327 B
23 lines
327 B
3 years ago
|
#include "model/Console.h"
|
||
|
|
||
|
#include <model/DataSender.h>
|
||
|
|
||
|
Console::Console()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void Console::injectDataSender(DataSender *sender)
|
||
|
{
|
||
|
_dataSender = sender;
|
||
|
}
|
||
|
|
||
|
void Console::test()
|
||
|
{
|
||
|
QByteArray arr;
|
||
|
arr.append(0x01);
|
||
|
arr.append(0x03);
|
||
|
arr.append(0x05);
|
||
|
_dataSender->send(arr);
|
||
|
}
|