thread fixes

This commit is contained in:
Max-Wilhelm Bruker 2011-04-18 18:55:35 +02:00
parent e6fc20114e
commit 69fce1fb5d
7 changed files with 23 additions and 1 deletions

View file

@ -43,6 +43,7 @@ private:
public:
Server_Player(Server_Game *_game, int _playerId, ServerInfo_User *_userInfo, bool _spectator, Server_ProtocolHandler *_handler);
~Server_Player();
void moveToThread(QThread *thread);
Server_ProtocolHandler *getProtocolHandler() const { return handler; }
void setProtocolHandler(Server_ProtocolHandler *_handler) { playerMutex.lock(); handler = _handler; playerMutex.unlock(); }