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