KDEUI
kckey.h
Go to the documentation of this file.00001 // This file has been automatically generated by "generate_keys.sh" 00002 // 00003 // This library is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU Library General Public 00005 // License as published by the Free Software Foundation; either 00006 // version 2 of the License, or (at your option) any later version. 00007 // 00008 // This library is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // Library General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU Library General Public License 00014 // along with this library; see the file COPYING.LIB. If not, write to 00015 // the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 #ifndef KCKEY_H 00017 #define KCKEY_H 00018 00019 typedef struct { 00020 const char *name; 00021 int code; 00022 } KKeys; 00023 00024 #define MAX_KEY_LENGTH 15 // should be calculated (gawk ?) 00025 #define MAX_KEY_MODIFIER_LENGTH 21 // "SHIFT + CRTL + ALT + " : 00026 #define MAX_FCTN_LENGTH 50 // arbitrary limit 00027 #define NB_KEYS 278 00028 extern const KKeys kde_KKEYS[NB_KEYS]; 00029 00030 #endif