Update of /home/kde/kdegames/atlantik/libatlantikclient In directory office:/tmp/cvs-serv7415/libatlantikclient Modified Files: Makefile.am atlantik_network.cpp atlantik_network.h Log Message: long overdue commits fixing .gn usage Index: Makefile.am =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantikclient/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.am 2002/05/11 22:34:20 1.5 +++ Makefile.am 2002/06/27 21:18:51 1.6 @@ -3,8 +3,8 @@ libatlantikclient_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 0:0:0 libatlantikclient_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO) -libatlantikclient_la_SOURCES = atlantik_network.cpp +libatlantikclient_la_SOURCES = atlantik_network.cpp monopdprotocol.cpp -noinst_HEADERS = atlantik_network.h +noinst_HEADERS = atlantik_network.h monopdprotocol.h METASOURCES = AUTO Index: atlantik_network.cpp =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- atlantik_network.cpp 2002/04/30 18:26:20 1.32 +++ atlantik_network.cpp 2002/06/27 21:18:51 1.33 @@ -63,8 +63,9 @@ { writeData(".E"); } -void AtlantikNetwork::cmdName(QString name) +void AtlantikNetwork::setName(QString name) { + // Almost deprecated, will be replaced by libmonopdprotocol QString msg(".n"); msg.append(name); writeData(msg); @@ -275,9 +276,9 @@ if (type=="del") emit gameListDel(e_game.attributeNode(QString("id")).value()); else if (type=="edit") - emit gameListEdit(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("gametype")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value()); + emit gameListEdit(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value()); else if (type=="add" || type=="full") - emit gameListAdd(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("gametype")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value()); + emit gameListAdd(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value()); } n_game = n_game.nextSibling(); } Index: atlantik_network.h =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- atlantik_network.h 2002/04/30 15:04:42 1.16 +++ atlantik_network.h 2002/06/27 21:18:51 1.17 @@ -36,7 +36,7 @@ public: AtlantikNetwork(AtlanticCore *atlanticCore, QObject *parent=0, const char *name=0); - void cmdName(QString name); + void setName(QString name); void cmdGamesList(); void cmdChat(QString msg); @@ -116,8 +116,8 @@ void gameListClear(); void gamelistEndUpdate(QString); - void gameListAdd(QString gameId, QString gameType, QString description, QString players); - void gameListEdit(QString gameId, QString gameType, QString description, QString players); + void gameListAdd(QString gameId, QString name, QString description, QString players, QString gameType); + void gameListEdit(QString gameId, QString name, QString description, QString players, QString gameType); void gameListDel(QString gameId); void joinedGame(); void initGame(); _______________________________________________ atlantik-devel mailing list atlantik-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/atlantik-devel