equal
deleted
inserted
replaced
60 virtual QStringList getArguments()=0; |
60 virtual QStringList getArguments()=0; |
61 virtual void onClientRead(); |
61 virtual void onClientRead(); |
62 virtual void onClientDisconnect(); |
62 virtual void onClientDisconnect(); |
63 virtual void SendToClientFirst(); |
63 virtual void SendToClientFirst(); |
64 |
64 |
|
65 // void RealStart(); |
65 private: |
66 private: |
66 static QPointer<QTcpServer> IPCServer; |
67 /*static*/ QPointer<QTcpServer> IPCServer; |
67 |
68 |
68 bool m_isDemoMode; |
69 bool m_isDemoMode; |
69 void RealStart(); |
|
70 QPointer<QTcpSocket> IPCSocket; |
70 QPointer<QTcpSocket> IPCSocket; |
71 |
71 |
72 private slots: |
72 private slots: |
73 void NewConnection(); |
73 void NewConnection(); |
74 void ClientDisconnect(); |
74 void ClientDisconnect(); |
75 void ClientRead(); |
75 void ClientRead(); |
76 void StartProcessError(QProcess::ProcessError error); |
76 void StartProcessError(QProcess::ProcessError error); |
77 |
77 |
78 void tcpServerReady(); |
78 // void tcpServerReady(); |
79 }; |
79 }; |
80 |
80 |
81 #endif // _TCPBASE_INCLUDED |
81 #endif // _TCPBASE_INCLUDED |