4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Asger and Juergen
9 * Full author contact details are available in file CREDITS
21 #include "frontends/LyXKeySym.h"
24 * This is the XForms (X11) version of LyXKeySym.
26 class XLyXKeySym : public LyXKeySym {
30 /// X11 specific initialization with an X11 KeySym
31 void initFromKeySym(KeySym);
33 virtual void init(string const & symbolname);
35 virtual ~XLyXKeySym() {}
37 /// Is this a valid key?
38 virtual bool isOK() const;
40 /// Is this a modifier key only?
41 virtual bool isModifier() const;
43 virtual string getSymbolName() const;
46 * Return the value of the keysym into the local ISO encoding.
47 * This converts the LyXKeySym to a 8-bit encoded character.
48 * This relies on user to use the right encoding.
50 virtual char getISOEncoded() const;
52 virtual bool operator==(LyXKeySym const & k) const;
58 #endif // XLYXKEYSYM_H