4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Asger and Juergen
19 #include "frontends/LyXKeySym.h"
22 * This is the XForms (X11) version of LyXKeySym.
24 class XLyXKeySym : public LyXKeySym {
28 /// X11 specific initialization with an X11 KeySym
29 void initFromKeySym(KeySym);
31 virtual void init(string const & symbolname);
33 virtual ~XLyXKeySym() {}
35 /// Is this a valid key?
36 virtual bool isOK() const;
38 /// Is this a modifier key only?
39 virtual bool isModifier() const;
41 virtual string getSymbolName() const;
44 * Return the value of the keysym into the local ISO encoding.
45 * This converts the LyXKeySym to a 8-bit encoded character.
46 * This relies on user to use the right encoding.
48 virtual char getISOEncoded() const;
50 virtual bool operator==(LyXKeySym const & k) const;
56 #endif // XLYXKEYSYM_H