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 be_locale->GetAppCatalog(&fCatalog); 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