mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
66e8220540
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9008 a592a061-630c-0410-9148-cb99ea01b6c8
35 lines
863 B
C++
35 lines
863 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GLyXKeySym.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Huang Ying
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GLYX_KEYSYM_H
|
|
#define GLYX_KEYSYM_H
|
|
|
|
#include "frontends/LyXKeySym.h"
|
|
|
|
class GLyXKeySym : public LyXKeySym {
|
|
public:
|
|
GLyXKeySym();
|
|
GLyXKeySym(unsigned int keyval);
|
|
void setKeyval(unsigned int keyval);
|
|
unsigned int getKeyval() const { return keyval_; }
|
|
virtual void init(std::string const & symbolname);
|
|
virtual ~GLyXKeySym() {}
|
|
virtual bool isOK() const;
|
|
virtual bool isModifier() const;
|
|
virtual std::string getSymbolName() const;
|
|
virtual char getISOEncoded(std::string const & encoding) const;
|
|
virtual std::string const print(key_modifier::state mod) const;
|
|
private:
|
|
unsigned int keyval_;
|
|
};
|
|
|
|
#endif
|