1 // SciTE - Scintilla based Text Editor 2 /** @file SciTEKeys.h 3 ** SciTE keyboard shortcut facilities. 4 **/ 5 // Copyright 1998-2004 by Neil Hodgson <neilh@scintilla.org> 6 // The License.txt file describes the conditions under which this software may be distributed. 7 8 #ifndef SCITEKEYS_H 9 #define SCITEKEYS_H 10 11 class SciTEKeys { 12 public: 13 static long ParseKeyCode(const char *mnemonic); 14 static bool MatchKeyCode(long parsedKeyCode, int keyval, int modifiers) noexcept; 15 }; 16 17 #endif 18