]> git.lyx.org Git - features.git/blob - src/frontends/gtk/GLyXKeySym.h
Replace LString.h with support/std_string.h,
[features.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 "support/std_string.h"
16 #include "frontends/LyXKeySym.h"
17
18 class GLyXKeySym : public LyXKeySym
19 {
20 public:
21         GLyXKeySym();
22         GLyXKeySym(unsigned int keyval);
23         void setKeyval(unsigned int keyval);
24         unsigned int getKeyval() const { return keyval_; }
25         virtual void init(string const & symbolname);
26         virtual ~GLyXKeySym() {}
27         virtual bool isOK() const;
28         virtual bool isModifier() const;
29         virtual string getSymbolName() const;
30         virtual char getISOEncoded(string const & encoding) const;
31 private:
32         unsigned int keyval_;
33 };
34
35 #endif