All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
csaClient.h
Go to the documentation of this file.
1 /* csaClient.h
2  */
3 #ifndef GAME_PLAYING_CSACLIENT_H
4 #define GAME_PLAYING_CSACLIENT_H
6 
7 namespace osl
8 {
9  namespace game_playing
10  {
11  class CsaClient : public CuiClient
12  {
14  bool silent;
15  std::string line;
16  public:
18  CsaLogger *l,
19  std::istream&, std::ostream&);
20  ~CsaClient();
21  void setShowMoveWithComment(bool value=true);
22  void setSilent(bool new_value=true) {
23  silent = new_value;
24  }
25  private:
26  bool readAndProcessCommand();
27  void processComputerMove(const search::MoveWithComment&, int seconds);
28  };
29  } // namespace game_playing
30 } // namespace osl
31 
32 
33 #endif /* _CSACLIENT_H */
34 // ;;; Local Variables:
35 // ;;; mode:c++
36 // ;;; c-basic-offset:2
37 // ;;; End: