2 * Copyright 2004-2014 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
7 * John Scipione, jscipione@gmail.com
10 #ifndef KEYMAP_APPLICATION_H
11 #define KEYMAP_APPLICATION_H
14 #include "KeymapWindow.h"
16 #include <Application.h>
21 #include "ModifierKeysWindow.h"
24 static const uint32 kMsgShowModifierKeysWindow
= 'smkw';
25 static const uint32 kMsgCloseModifierKeysWindow
= 'hmkw';
26 static const uint32 kMsgUpdateModifierKeys
= 'umod';
27 static const uint32 kMsgUpdateNormalKeys
= 'ukey';
30 class KeymapApplication
: public BApplication
{
34 void MessageReceived(BMessage
* message
);
35 bool UseKeymap(BEntry
* keymap
);
38 void _ShowModifierKeysWindow();
41 KeymapWindow
* fWindow
;
42 ModifierKeysWindow
* fModifierKeysWindow
;
46 #endif // KEYMAP_APPLICATION_H