2 * Copyright 2007-2010, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef SUDOKU_WINDOW_H
6 #define SUDOKU_WINDOW_H
21 class SudokuWindow
: public BWindow
{
24 virtual ~SudokuWindow();
26 virtual void MessageReceived(BMessage
* message
);
27 virtual bool QuitRequested();
30 status_t
_OpenSettings(BFile
& file
, uint32 mode
);
31 status_t
_LoadSettings(BMessage
& settings
);
32 status_t
_SaveSettings();
34 void _ResetStoredState();
35 void _MessageDropped(BMessage
*message
);
36 void _Generate(int32 level
);
38 void _SetLevel(int32 level
);
41 BFilePanel
* fOpenPanel
;
42 BFilePanel
* fSavePanel
;
43 ProgressWindow
* fProgressWindow
;
44 SudokuView
* fSudokuView
;
45 GenerateSudoku
* fGenerator
;
46 BMenuItem
* fRestoreStateItem
;
50 BMessage
* fStoredState
;
54 #endif // SUDOKU_WINDOW_H