add chat functions

This commit is contained in:
doitux
2007-05-25 00:09:51 +00:00
parent e8d7009106
commit 2333079b13
12 changed files with 58 additions and 8 deletions
+7 -1
View File
@@ -31,6 +31,7 @@
#include <QtCore>
class Log;
class Chat;
class ConfigFile;
class Session;
class Game;
@@ -66,7 +67,8 @@ public:
Session &getSession();
void setSession(boost::shared_ptr<Session> session);
void setLog(Log*);
void setLog(Log* l) { myLog = l; }
void setChat(Chat* c) { myChat = c; }
void setSpeeds();
@@ -234,6 +236,9 @@ public slots:
void paintStartSplash();
void sendChatMessage();
void setChatFocus();
void networkError(int, int);
void networkStart(boost::shared_ptr<Game> game);
@@ -244,6 +249,7 @@ private:
boost::shared_ptr<GuiInterface> myServerGuiInterface;
boost::shared_ptr<Session> mySession;
Log *myLog;
Chat *myChat;
ConfigFile *myConfig;
//Logo