LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable...
[librepilot.git] / ground / openpilotgcs / src / plugins / ipconnection / ipconnection_internal.h
blobb7c2f3992d4592510f81b63a97ec3768ead06d26
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 {
9 Q_OBJECT
11 public:
13 IPConnection(IPconnectionConnection *connection);
14 // virtual ~IPConnection();
16 public slots:
18 void onOpenDevice(QString HostName, int Port, bool UseTCP);
19 void onCloseDevice(QAbstractSocket *ipSocket);
22 #endif // IPCONNECTION_INTERNAL_H