lyx_mirror/src/frontends/gtk/GLyXKeySym.h
Lars Gullik Bjønnes 66e8220540 WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9008 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:18:29 +00:00

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