Files
haiku-beta6/src/preferences/keymap/KeymapApplication.cpp
T

41 lines
611 B
C++
Raw Normal View History

/*
* 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"
2002-07-09 12:24:59 +00:00
KeymapApplication::KeymapApplication()
: 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();
}
void
KeymapApplication::MessageReceived(BMessage* message)
2002-07-09 12:24:59 +00:00
{
BApplication::MessageReceived(message);
2002-07-09 12:24:59 +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
}