Added current case to socket server.

Fixed includes on Windows
p4#: 21725
This commit is contained in:
Magne Sjaastad
2013-05-26 21:55:05 +02:00
parent fbc02e79b0
commit 2afca2bd5d
2 changed files with 35 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ public:
QErrorMessage* errorMessageDialog() { return m_errorMessageDialog; }
QTcpSocket* currentClient() { return m_currentClient; }
void setCurrentCaseId(int caseId);
int currentCaseId() const;
private slots:
void slotNewClientConnection();
void slotCurrentClientDisconnected();
@@ -69,5 +72,6 @@ private:
qint64 m_currentCommandSize; ///< The size in bytes of the command we are currently reading.
RiaSocketCommand* m_currentCommand;
};
int m_currentCaseId; // Set to -1 to use default server behavior
};