X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fkbmap.h;h=8f41d2484cfe5d672127b020a1c300591fe5a766;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=d1aa78212a18293fd39dbd99175243415f8c025f;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/kbmap.h b/src/kbmap.h index d1aa78212a..8f41d2484c 100644 --- a/src/kbmap.h +++ b/src/kbmap.h @@ -4,10 +4,10 @@ Author : chb, 30.Oct.1995 Docu : see kbmap.C Purpose: class definitions for XKeyEvent keymap handling - \* ======================================================================= */ + \* ==================================================================== */ -#ifndef _KBMAP_H_ -#define _KBMAP_H_ +#ifndef KBMAP_H +#define KBMAP_H #ifdef __GNUG__ #pragma interface @@ -15,13 +15,14 @@ #include +#include "LString.h" + #define KB_PREALLOC 16 #define KB_HASHSIZE 128 // yes, yes - I know. 128 is not exactly prime :-) // ... but we are dealing with ASCII chars mostly. class kb_keymap; class kb_sequence; -class LString; /// struct kb_key { @@ -62,7 +63,7 @@ public: int lookup(KeySym key, unsigned mod, kb_sequence *seq); /// Given an action, find all keybindings. - LString findbinding(int action) const; + string findbinding(int action) const; private: /// Define a new key sequence int defkey(kb_sequence *seq, int action, int idx = 0);