4 * Read the file COPYING
6 * \author Asger and Juergen
8 * Full author contact details are available in file CREDITS
20 #include "frontends/LyXKeySym.h"
23 * This is the XForms (X11) version of LyXKeySym.
25 class XLyXKeySym : public LyXKeySym {
29 /// X11 specific initialization with an X11 KeySym
30 void initFromKeySym(KeySym);
32 virtual void init(string const & symbolname);
34 virtual ~XLyXKeySym() {}
36 /// Is this a valid key?
37 virtual bool isOK() const;
39 /// Is this a modifier key only?
40 virtual bool isModifier() const;
42 virtual string getSymbolName() const;
45 * Return the value of the keysym into the local ISO encoding.
46 * This converts the LyXKeySym to a 8-bit encoded character.
47 * This relies on user to use the right encoding.
49 virtual char getISOEncoded() const;
51 virtual bool operator==(LyXKeySym const & k) const;
57 #endif // XLYXKEYSYM_H