24 lines
468 B
C++
Executable File
24 lines
468 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "commandinterface.h"
|
|
#include "tcpserver_export.h"
|
|
#include <QMap>
|
|
#include <QPair>
|
|
|
|
class QIODevice;
|
|
class CBI_Recvfile : public CommandInterface
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CBI_Recvfile(unsigned short port);
|
|
|
|
void handleCommandInternal(const QVector<QByteArray> &args) override;
|
|
QString help() const override;
|
|
void newPlainData() override;
|
|
protected:
|
|
QMap<WorkerBase*, QPair<QIODevice*, int> > m_wbMap;
|
|
};
|