Changeset View
Changeset View
Standalone View
Standalone View
patsolve/simonsolver.h
Show All 21 Lines | |||||
22 | #include "simon.h" | 22 | #include "simon.h" | ||
23 | class Simon; | 23 | class Simon; | ||
24 | 24 | | |||
25 | 25 | | |||
26 | class SimonSolver : public FcSolveSolver | 26 | class SimonSolver : public FcSolveSolver | ||
27 | { | 27 | { | ||
28 | public: | 28 | public: | ||
29 | explicit SimonSolver(const Simon *dealer); | 29 | explicit SimonSolver(const Simon *dealer); | ||
30 | int get_possible_moves(int *a, int *numout) Q_DECL_OVERRIDE; | 30 | int get_possible_moves(int *a, int *numout) override; | ||
31 | #if 0 | 31 | #if 0 | ||
32 | bool isWon() Q_DECL_OVERRIDE; | 32 | bool isWon() override; | ||
33 | void make_move(MOVE *m) Q_DECL_OVERRIDE; | 33 | void make_move(MOVE *m) override; | ||
34 | void undo_move(MOVE *m) Q_DECL_OVERRIDE; | 34 | void undo_move(MOVE *m) override; | ||
35 | int getOuts() Q_DECL_OVERRIDE; | 35 | int getOuts() override; | ||
36 | unsigned int getClusterNumber() Q_DECL_OVERRIDE; | 36 | unsigned int getClusterNumber() override; | ||
37 | #endif | 37 | #endif | ||
38 | void translate_layout() override; | 38 | void translate_layout() override; | ||
39 | MoveHint translateMove(const MOVE &m) override; | 39 | MoveHint translateMove(const MOVE &m) override; | ||
40 | #if 0 | 40 | #if 0 | ||
41 | void unpack_cluster( unsigned int k ) Q_DECL_OVERRIDE; | 41 | void unpack_cluster( unsigned int k ) override; | ||
42 | void print_layout() Q_DECL_OVERRIDE; | 42 | void print_layout() override; | ||
43 | #endif | 43 | #endif | ||
44 | void setFcSolverGameParams() override; | 44 | void setFcSolverGameParams() override; | ||
45 | 45 | | |||
46 | int get_cmd_line_arg_count() override; | 46 | int get_cmd_line_arg_count() override; | ||
47 | const char * * get_cmd_line_args() override; | 47 | const char * * get_cmd_line_args() override; | ||
48 | #if 0 | 48 | #if 0 | ||
49 | /* Names of the cards. The ordering is defined in pat.h. */ | 49 | /* Names of the cards. The ordering is defined in pat.h. */ | ||
50 | int O[4]; | 50 | int O[4]; | ||
51 | #endif | 51 | #endif | ||
52 | const Simon *deal; | 52 | const Simon *deal; | ||
53 | }; | 53 | }; | ||
54 | 54 | | |||
55 | #endif // SIMONSOLVER_H | 55 | #endif // SIMONSOLVER_H |