QTfrontend/tcpBase.h
changeset 185 3b777d7008d9
parent 184 f97a7a3dc8f6
child 186 7157b34a24d6
--- a/QTfrontend/tcpBase.h	Thu Oct 05 17:02:09 2006 +0000
+++ b/QTfrontend/tcpBase.h	Thu Oct 05 18:33:10 2006 +0000
@@ -35,7 +35,7 @@
 class TCPBase : public QObject
 {
   Q_OBJECT
-
+    
  public:
   TCPBase(bool demoMode);
 
@@ -59,12 +59,14 @@
   virtual void SendToClientFirst();
 
  private:
+  static int isIPCServerStarted;
+  static QTcpServer* IPCServer;
+
   bool m_isDemoMode;
-  QTcpServer * IPCServer;
+  void RealStart();
   QTcpSocket * IPCSocket;
 
  private slots:
-  void RealStart();
   void NewConnection();
   void ClientDisconnect();
   void ClientRead();