2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef SUDOKU_GENERATOR_H
6 #define SUDOKU_GENERATOR_H
11 #include <Messenger.h>
12 #include <SupportDefs.h>
17 class SudokuGenerator
{
22 void Generate(SudokuField
* field
, uint32 fieldsLeft
,
23 BMessenger progress
, volatile bool *quit
);
26 void _Progress(BMessenger progress
, const char* text
, float percent
);
27 bool _HasOnlyOneSolution(SudokuField
& field
);
30 #endif // SUDOKU_GENERATOR_H