/* * Copyright 2004-2006 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Sandor Vroemisse * Jérôme Duval */ #ifndef KEYMAP_APPLICATION_H #define KEYMAP_APPLICATION_H #include "KeymapWindow.h" #include "ModifierKeysWindow.h" #include #include #include #include static const uint32 kMsgShowModifierKeysWindow = 'smkw'; static const uint32 kMsgCloseModifierKeysWindow = 'hmkw'; static const uint32 kMsgUpdateModifiers = 'upmd'; class KeymapApplication : public BApplication { public: KeymapApplication(); void MessageReceived(BMessage* message); bool UseKeymap(BEntry* keymap); protected: void _ShowModifierKeysWindow(); private: KeymapWindow* fWindow; ModifierKeysWindow* fModifierKeysWindow; }; #endif // KEYMAP_APPLICATION_H