--- a/QTfrontend/net/newnetclient.h Tue Oct 15 22:38:32 2013 +0400
+++ b/QTfrontend/net/newnetclient.h Tue Oct 15 23:07:22 2013 +0400
@@ -76,6 +76,7 @@
PlayersListModel * m_playersModel;
QSortFilterProxyModel * m_lobbyPlayersModel;
QSortFilterProxyModel * m_roomPlayersModel;
+ QString m_lastRoom;
QStringList cmdbuf;
@@ -103,6 +104,7 @@
void adminAccess(bool);
void roomMaster(bool);
void roomNameUpdated(const QString & name);
+ void askForRoomPassword();
void netSchemeConfig(QStringList &);
void paramChanged(const QString & param, const QStringList & value);
@@ -153,7 +155,7 @@
void setLatestProtocolVar(int proto);
void askServerVars();
- void JoinRoom(const QString & room);
+ void JoinRoom(const QString & room, const QString & password);
void CreateRoom(const QString & room, const QString &password);
void updateRoomName(const QString &);
void askRoomsList();
@@ -173,6 +175,7 @@
void removeBan(const QString &);
void banIP(const QString & ip, const QString & reason, int seconds);
void banNick(const QString & nick, const QString & reason, int seconds);
+ void roomPasswordEntered(const QString & password);
private slots:
void ClientRead();