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

Diff of /queensgui/src/solutionint.h

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

revision 7 by torben, Fri Jul 20 01:22:53 2007 UTC revision 8 by torben, Fri Jul 20 16:58:04 2007 UTC
# Line 21  Line 21 
21  #define SOLUTIONINT_H  #define SOLUTIONINT_H
22    
23  #include <solution.h>  #include <solution.h>
24    #include "config.h"
25    
26  class SolutionInt : public Solution  class SolutionInt : public Solution
27  {  {
# Line 32  public: Line 33  public:
33      virtual bool getMatrix(int x, int y);      virtual bool getMatrix(int x, int y);
34          virtual void setMatrix(int x, int y, bool val);          virtual void setMatrix(int x, int y, bool val);
35      virtual bool operator ==(const Solution& sol);      virtual bool operator ==(const Solution& sol);
36      //virtual bool operator !=(const Solution& sol);  
37      virtual Solution* copy();      virtual Solution* copy();
38      virtual void mirror();      virtual void mirror();
39      virtual void rotate90();      virtual void rotate90();
40  private:  private:
41          explicit SolutionInt(const SolutionInt& input);          explicit SolutionInt(const SolutionInt& input);
42            void set(unsigned char[MAX_SIZE]);
43          unsigned char m_matrix[MAX_SIZE];          unsigned char m_matrix[MAX_SIZE];
44                                    
45  };  };

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.20