#ifndef XLYXKEYSYM_H
#define XLYXKEYSYM_H
-
-#include "support/std_string.h"
#include <X11/Xlib.h>
#include "frontends/LyXKeySym.h"
+namespace lyx {
+namespace frontend {
+
/**
* This is the XForms (X11) version of LyXKeySym.
*/
/// 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() {}
/// 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 {
unsigned int keysym_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // XLYXKEYSYM_H