Added client callback interface.

This commit is contained in:
lotodore
2007-02-18 01:16:18 +00:00
parent 4e69e4d7e6
commit ca6adbb295
7 changed files with 86 additions and 41 deletions
+3 -3
View File
@@ -27,12 +27,12 @@
class ClientData;
class ClientState;
class GuiInterface;
class ClientCallback;
class ClientThread : public Thread
{
public:
ClientThread(GuiInterface &gui);
ClientThread(ClientCallback &gui);
virtual ~ClientThread();
// Set the parameters. Does not do any error checking.
@@ -55,7 +55,7 @@ private:
std::auto_ptr<ClientData> m_data;
ClientState *m_curState;
GuiInterface &m_gui;
ClientCallback &m_callback;
friend class ClientStateInit;