gnuShogiClient.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
gnuShogiClient.h
Go to the documentation of this file.
1 /* gnuShogiClient.h
2 */
3 #ifndef GAMEPLAYING_GNUSHOGICLIENT_H
4 #define GAMEPLAYING_GNUSHOGICLIENT_H
5
6 #include "osl/game_playing/cuiClient.h"
7 namespace osl
8 {
9 namespace game_playing
10 {
11 struct GnuShogiQuit {};
12 class GnuShogiClient : public CuiClient
13 {
14 public:
15 GnuShogiClient(ComputerPlayer *black, ComputerPlayer *white,
16 CsaLogger *l,
17 std::istream&, std::ostream&);
18 ~GnuShogiClient();
19 private:
20 bool readAndProcessCommand();
21 void processComputerMove(const search::MoveWithComment&, int seconds);
22 void preComputeNextMove();
23 };
24
25 } // namespace game_playing
26 } // namespace osl
27
28
29 #endif /* _GNUSHOGICLIENT_H */
30 // ;;; Local Variables:
31 // ;;; mode:c++
32 // ;;; c-basic-offset:2
33 // ;;; End: