2006-10-22 14:55:44 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright 2004-2006, Haiku. All rights reserved.
|
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
|
*
|
|
|
|
|
* Authors in chronological order:
|
|
|
|
|
* Sandor Vroemisse
|
|
|
|
|
* Jérôme Duval
|
|
|
|
|
*/
|
|
|
|
|
|
2004-07-14 16:10:25 +00:00
|
|
|
|
2002-07-09 12:24:59 +00:00
|
|
|
#include "KeymapApplication.h"
|
|
|
|
|
|
2006-10-22 14:55:44 +00:00
|
|
|
|
2002-07-09 12:24:59 +00:00
|
|
|
KeymapApplication::KeymapApplication()
|
2006-10-22 14:55:44 +00:00
|
|
|
: BApplication("application/x-vnd.Haiku-Keymap")
|
2002-07-09 12:24:59 +00:00
|
|
|
{
|
|
|
|
|
// create the window
|
2005-08-23 11:28:52 +00:00
|
|
|
fWindow = new KeymapWindow();
|
2002-07-09 12:24:59 +00:00
|
|
|
fWindow->Show();
|
|
|
|
|
}
|
|
|
|
|
|
2006-10-22 14:55:44 +00:00
|
|
|
|
|
|
|
|
void
|
|
|
|
|
KeymapApplication::MessageReceived(BMessage* message)
|
2002-07-09 12:24:59 +00:00
|
|
|
{
|
2006-10-22 14:55:44 +00:00
|
|
|
BApplication::MessageReceived(message);
|
2002-07-09 12:24:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2006-10-22 14:55:44 +00:00
|
|
|
// #pragma mark -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main(int, char**)
|
2004-07-03 17:51:51 +00:00
|
|
|
{
|
|
|
|
|
new KeymapApplication;
|
|
|
|
|
be_app->Run();
|
|
|
|
|
delete be_app;
|
2004-07-14 16:10:25 +00:00
|
|
|
return B_OK;
|
2004-07-03 17:51:51 +00:00
|
|
|
}
|