]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XLyXKeySym.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / XLyXKeySym.h
index bc120109b313edb509b381b7ba32d096f1be4380..93944204a2798e135f2f5b7a589b9e69a453f950 100644 (file)
@@ -4,19 +4,14 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Asger and Juergen
+ * \author Asger and JΓΌrgen
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef XLYXKEYSYM_H
 #define XLYXKEYSYM_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "LString.h"
 #include <X11/Xlib.h>
 #include "frontends/LyXKeySym.h"
 
@@ -30,7 +25,7 @@ public:
        /// X11 specific initialization with an X11 KeySym
        void initFromKeySym(KeySym);
 
-       virtual void init(string const & symbolname);
+       virtual void init(std::string const & symbolname);
 
        virtual ~XLyXKeySym() {}
 
@@ -40,14 +35,17 @@ public:
        /// Is this a modifier key only?
        virtual bool isModifier() const;
 
-       virtual string getSymbolName() const;
+       virtual std::string getSymbolName() const;
 
        /**
         * Return the value of the keysym into the local ISO encoding.
         * This converts the LyXKeySym to a 8-bit encoded character.
         * This relies on user to use the right encoding.
         */
-       virtual char getISOEncoded(string const & encoding) const;
+       virtual char getISOEncoded(std::string const & encoding) const;
+
+       ///
+       virtual std::string const print(key_modifier::state mod) const;
 
        ///
        unsigned int keysym() const {