mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-20 05:52:11 +01:00
7195862d77
This will allow us to build a parent project for qt-creator that sits above both openpilotgcs and uavobjgenerator so that we can build both projects at the same time. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
24 lines
591 B
C++
24 lines
591 B
C++
#ifndef IPCONNECTION_INTERNAL_H
|
|
#define IPCONNECTION_INTERNAL_H
|
|
|
|
#include "ipconnectionplugin.h"
|
|
|
|
//Simple class for creating & destroying a socket in the real-time thread
|
|
//Needed because sockets need to be created in the same thread that they're used
|
|
class IPConnection : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
IPConnection(IPconnectionConnection *connection);
|
|
//virtual ~IPConnection();
|
|
|
|
public slots:
|
|
|
|
void onOpenDevice(QString HostName, int Port, bool UseTCP);
|
|
void onCloseDevice(QAbstractSocket *ipSocket);
|
|
};
|
|
|
|
#endif // IPCONNECTION_INTERNAL_H
|