]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.h
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / kbmap.h
index d1aa78212a18293fd39dbd99175243415f8c025f..8f41d2484cfe5d672127b020a1c300591fe5a766 100644 (file)
@@ -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
 
 #include <X11/Xlib.h>
 
+#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);