xref: /haiku/src/preferences/keymap/KeymapApplication.cpp (revision 0c93c0a807b27096abbfad677436afb7d1712d4a)
1 /*
2  * Copyright 2004-2006, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors in chronological order:
6  *		Sandor Vroemisse
7  *		Jérôme Duval
8  */
9 
10 
11 #include "KeymapApplication.h"
12 
13 
14 KeymapApplication::KeymapApplication()
15 	: BApplication("application/x-vnd.Haiku-Keymap")
16 {
17 	// create the window
18 	fWindow = new KeymapWindow();
19 	fWindow->Show();
20 }
21 
22 
23 void
24 KeymapApplication::MessageReceived(BMessage* message)
25 {
26 	BApplication::MessageReceived(message);
27 }
28 
29 
30 //	#pragma mark -
31 
32 
33 int
34 main(int, char**)
35 {
36 	new KeymapApplication;
37 	be_app->Run();
38 	delete be_app;
39 	return B_OK;
40 }
41