/[projects]/queensgui/src/queens.h
ViewVC logotype

Diff of /queensgui/src/queens.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by torben, Thu Jul 19 21:34:15 2007 UTC revision 4 by torben, Thu Jul 19 23:44:01 2007 UTC
# Line 34  class SolutionContainer; Line 34  class SolutionContainer;
34  class Queens : public QThread  class Queens : public QThread
35  {  {
36  public:  public:
37          Queens(GUIUpdate *par, SolutionContainer *sol, int set_size = 8, bool set_debug = false);          Queens(GUIUpdate *par, Solution* sol,SolutionContainer *container, int set_size = 8, bool set_debug = false);
38          void stop();          void stop();
39  private:  private:
40          bool blocked;          bool m_blocked;
41          int size;          int m_size;
42          bool debug;          bool m_debug;
43          Solution solution;          Solution* m_solution;
44          GUIUpdate* parent;          GUIUpdate* m_parent;
45    
46          SolutionContainer *solutions;          SolutionContainer* m_solutions;
47            
48  //checkXXX() functions returns true if a section is usable  //checkXXX() functions returns true if a section is usable
49          bool checkRows(int row, int col);          bool checkRows(int row, int col);
50          bool checkCols(int row, int col);          bool checkCols(int row, int col);

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.20