]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GLyXKeySym.h
Change glob() API to accept a dir parameter.
[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 public:
19         GLyXKeySym();
20         GLyXKeySym(unsigned int keyval);
21         void setKeyval(unsigned int keyval);
22         unsigned int getKeyval() const { return keyval_; }
23         virtual void init(std::string const & symbolname);
24         virtual ~GLyXKeySym() {}
25         virtual bool isOK() const;
26         virtual bool isModifier() const;
27         virtual std::string getSymbolName() const;
28         virtual char getISOEncoded(std::string const & encoding) const;
29         virtual std::string const print(key_modifier::state mod) const;
30 private:
31         unsigned int keyval_;
32 };
33
34 #endif