]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GLyXKeySym.h
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / gtk / GLyXKeySym.h
1 // -*- C++ -*-
2 /**
3  * \file GLyXKeySym.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GLYX_KEYSYM_H
13 #define GLYX_KEYSYM_H
14
15 #include "frontends/LyXKeySym.h"
16
17 class GLyXKeySym : public LyXKeySym
18 {
19 public:
20         GLyXKeySym();
21         GLyXKeySym(unsigned int keyval);
22         void setKeyval(unsigned int keyval);
23         unsigned int getKeyval() const { return keyval_; }
24         virtual void init(std::string const & symbolname);
25         virtual ~GLyXKeySym() {}
26         virtual bool isOK() const;
27         virtual bool isModifier() const;
28         virtual std::string getSymbolName() const;
29         virtual char getISOEncoded(std::string const & encoding) const;
30 private:
31         unsigned int keyval_;
32 };
33
34 #endif