Changeset View
Changeset View
Standalone View
Standalone View
golf.h
- This file was copied to autotests/solver_format.cpp.
Show All 40 Lines | |||||
41 | 41 | | |||
42 | class Golf : public DealerScene | 42 | class Golf : public DealerScene | ||
43 | { | 43 | { | ||
44 | Q_OBJECT | 44 | Q_OBJECT | ||
45 | 45 | | |||
46 | public: | 46 | public: | ||
47 | explicit Golf( const DealerInfo * di ); | 47 | explicit Golf( const DealerInfo * di ); | ||
48 | void initialize() Q_DECL_OVERRIDE; | 48 | void initialize() Q_DECL_OVERRIDE; | ||
49 | #ifdef WITH_BH_SOLVER | | |||
50 | QString solverFormat() const; | 49 | QString solverFormat() const; | ||
51 | #endif | | |||
52 | 50 | | |||
53 | protected: | 51 | protected: | ||
54 | void setGameState( const QString & state ) Q_DECL_OVERRIDE; | 52 | void setGameState( const QString & state ) Q_DECL_OVERRIDE; | ||
55 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const Q_DECL_OVERRIDE; | 53 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const Q_DECL_OVERRIDE; | ||
56 | bool checkRemove(const PatPile * pile, const QList<KCard*> & cards) const Q_DECL_OVERRIDE; | 54 | bool checkRemove(const PatPile * pile, const QList<KCard*> & cards) const Q_DECL_OVERRIDE; | ||
57 | void restart( const QList<KCard*> & cards ) Q_DECL_OVERRIDE; | 55 | void restart( const QList<KCard*> & cards ) Q_DECL_OVERRIDE; | ||
58 | bool drop() Q_DECL_OVERRIDE; | 56 | bool drop() Q_DECL_OVERRIDE; | ||
59 | 57 | | |||
Show All 12 Lines |