2 * Copyright 2007-2011, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
9 #include "SudokuWindow.h"
14 #include <Application.h>
19 #undef B_TRANSLATION_CONTEXT
20 #define B_TRANSLATION_CONTEXT "Sudoku"
23 const char* kSignature
= "application/x-vnd.Haiku-Sudoku";
28 BApplication(kSignature
)
41 fWindow
= new SudokuWindow();
47 Sudoku::RefsReceived(BMessage
* message
)
49 fWindow
->PostMessage(message
);
54 Sudoku::MessageReceived(BMessage
* message
)
56 BApplication::MessageReceived(message
);
64 main(int /*argc*/, char** /*argv*/)
66 srand(system_time() % INT_MAX
);