Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / ipconnection / ipconnection_internal.h
blob3f7b3958da8aa3552b7a464dfc05af733c77dd5d
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:
12 IPConnection(IPConnectionConnection *connection);
14 public slots:
15 void onOpenDevice(QString HostName, int Port, bool UseTCP);
16 void onCloseDevice(QAbstractSocket *ipSocket);
19 #endif // IPCONNECTION_INTERNAL_H