]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XLyXKeySym.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / XLyXKeySym.C
index 51e3c0ce19aa5140686f36ea71b6fab1cfbaa0eb..5a71008dabc9a4c617f91fb93763f907f7cb6f3b 100644 (file)
 #include "XLyXKeySym.h"
 
 #include "debug.h"
+#include "kbmap.h"
 
 #include <X11/keysym.h>
 
 using std::endl;
+using std::string;
 
 
 XLyXKeySym::XLyXKeySym()
@@ -99,6 +101,12 @@ char XLyXKeySym::getISOEncoded(string const &) const
 }
 
 
+string const XLyXKeySym::print(key_modifier::state mod) const
+{
+       return kb_keymap::printKeySym(*this, mod);
+}
+
+
 bool operator==(LyXKeySym const & k1, LyXKeySym const & k2)
 {
        return static_cast<XLyXKeySym const &>(k1).keysym()