Fix mamer crash on listmanagers command
[capablanca.git] / lasker-2.2.3 / bots / mamer / Mamer.hh
index a8b8cab..22676a5 100644 (file)
@@ -3,17 +3,13 @@
 //
 // Matthew E. Moses & Michael A. Long
 //
-// $Revision: 1.13 $
-// $Date: 2002/07/02 00:05:19 $
+// $Revision: 1.11 $
+// $Date: 1998/09/10 19:58:41 $
 //
-// $Log: Mamer.hh,v $
-// Revision 1.13  2002/07/02 00:05:19  tridge
-// got rid of a bunch of RCS tags now that its in CVS
-//
-// Revision 1.12  2002/07/02 00:02:40  tridge
-// - fixed compile on g++ 2.96
-// - updated for lasker 'rmatch'
+// $Author: mlong $
+// $Locker:  $
 //
+// $Log: Mamer.hh,v $
 // Revision 1.11  1998/09/10 19:58:41  mlong
 // lots of little bug fixes and a few new features.
 //
 #ifndef _MAMER_
 #define _MAMER_
 
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
+
+using namespace std;
 
 extern "C" {
 #include <sys/param.h>
@@ -149,6 +147,8 @@ class Mamer : public CommandEntry {
   Tourney *FindTourney(int);
   User    *FindUser(char *);
   Command *FindCommand(char *, char *);
+  
+  void NextRound();
 
 private:
   void Usage(void);
@@ -165,8 +165,6 @@ private:
   int HandleGame(char *);
   int HandleGameInfo(char *);
   int HandlePlayerInfo(char *);
-  
-  void NextRound();
 
   Player  *FindPending(char *);