1
/****************************************************************************
2
* Copyright 2011 Ian Wadham <iandw.au@gmail.com> *
4
* This program is free software; you can redistribute it and/or *
5
* modify it under the terms of the GNU General Public License as *
6
* published by the Free Software Foundation; either version 2 of *
7
* the License, or (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
16
****************************************************************************/
25
#include "sudokuboard.h"
27
class State : public QObject
31
State (QObject * parent,
32
const GuessesList & guesses,
33
const int guessNumber,
34
const BoardContents & values,
35
const MoveList & moves,
36
const MoveList & moveTypes);
38
GuessesList guesses() { return m_guesses; }
39
int guessNumber() { return m_guessNumber; }
40
BoardContents values() { return m_values; }
41
void setGuessNumber (int n) { m_guessNumber = n; }
42
MoveList moves() { return m_moves; }
43
MoveList moveTypes() { return m_moveTypes; }
46
GuessesList m_guesses;
48
BoardContents m_values;