00001 /* gnuShogiClient.h 00002 */ 00003 #ifndef GAMEPLAYING_GNUSHOGICLIENT_H 00004 #define GAMEPLAYING_GNUSHOGICLIENT_H 00005 00006 #include "osl/game_playing/cuiClient.h" 00007 namespace osl 00008 { 00009 namespace game_playing 00010 { 00011 class GnuShogiClient : public CuiClient 00012 { 00013 public: 00014 GnuShogiClient(ComputerPlayer *black, ComputerPlayer *white, 00015 CsaLogger *l, 00016 std::istream&, std::ostream&); 00017 ~GnuShogiClient(); 00018 private: 00019 void readAndProcessCommand(); 00020 void processComputerMove(const MoveWithComment&, int seconds); 00021 void preComputeNextMove(); 00022 }; 00023 00024 } // namespace game_playing 00025 } // namespace osl 00026 00027 00028 #endif /* _GNUSHOGICLIENT_H */ 00029 // ;;; Local Variables: 00030 // ;;; mode:c++ 00031 // ;;; c-basic-offset:2 00032 // ;;; End: