1 #ifndef IPCONNECTION_INTERNAL_H
2 #define IPCONNECTION_INTERNAL_H
4 #include "ipconnectionplugin.h"
6 // Simple class for creating & destroying a socket in the real-time thread
7 // Needed because sockets need to be created in the same thread that they're used
8 class IPConnection
: public QObject
{
13 IPConnection(IPconnectionConnection
*connection
);
14 // virtual ~IPConnection();
18 void onOpenDevice(QString HostName
, int Port
, bool UseTCP
);
19 void onCloseDevice(QAbstractSocket
*ipSocket
);
22 #endif // IPCONNECTION_INTERNAL_H