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.
21 lines
333 B
21 lines
333 B
#ifndef DATASENDER_H
|
|
#define DATASENDER_H
|
|
|
|
#include <QObject>
|
|
#include <QByteArray>
|
|
|
|
class DataSender : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
virtual void send(const QByteArray& data) = 0;
|
|
virtual ~DataSender()
|
|
{
|
|
}
|
|
|
|
signals:
|
|
void dataReady(const QByteArray& data);
|
|
};
|
|
|
|
#endif //DATASENDER_H
|
|
|