[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.86,1.87 atlantik_network.h,1.45,1.46

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv21573/libatlantikclient

Modified Files:
	atlantik_network.cpp atlantik_network.h 
Log Message:
store reconnection cookie

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- atlantik_network.cpp	17 Jun 2003 18:21:28 -0000	1.86
+++ atlantik_network.cpp	18 Jun 2003 00:58:40 -0000	1.87
@@ -348,6 +348,9 @@
 					// TODO: move to Atlantik::slotNetworkConnected(), not needed on auto-join
 					cmdGamesList();
 				}
+				a = e.attributeNode(QString("cookie"));
+				if (!a.isNull())
+					emit clientCookie(a.value());
 			}
 			else if (e.tagName() == "configupdate")
 			{

Index: atlantik_network.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- atlantik_network.h	17 Jun 2003 18:21:28 -0000	1.45
+++ atlantik_network.h	18 Jun 2003 00:58:40 -0000	1.46
@@ -159,6 +159,7 @@
 
 	void newAuction(Auction *auction);
 	void auctionCompleted(Auction *auction);
+	void clientCookie(QString cookie);
 
 private:
 	void processMsg(QString);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.