--- a/QTfrontend/net/tcpBase.h Wed Mar 05 00:53:08 2014 +0400
+++ b/QTfrontend/net/tcpBase.h Thu Mar 06 00:18:51 2014 +0400
@@ -27,6 +27,7 @@
#include <QString>
#include <QDir>
#include <QProcess>
+#include <QThread>
#include <QPointer>
#include <QVector>
#include <QList>
@@ -72,7 +73,11 @@
private:
static QPointer<QTcpServer> IPCServer;
-
+#ifdef HWLIBRARY
+ QThread * thread;
+#else
+ QProcess * process;
+#endif
bool m_isDemoMode;
bool m_connected;
void RealStart();
@@ -98,9 +103,11 @@
void setArguments(const QStringList & arguments);
public slots:
- void start(void);
+ void start();
+
signals:
- void finished(void);
+ void finished();
+
private:
QList<QByteArray> m_arguments;
QVector<char *> m_argv;