X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FLyXKeySym.h;h=b027b07f387b2f4ce9676b50db776b05d15601b4;hb=2f1d525ee1d41bc20adbfe766a9c5d90469aa4b2;hp=79d977383e162e2d033a2ccc9935f37a982a38de;hpb=0f9678630c661df5e3376c16cab3a5b2824871e9;p=lyx.git diff --git a/src/frontends/LyXKeySym.h b/src/frontends/LyXKeySym.h index 79d977383e..b027b07f38 100644 --- a/src/frontends/LyXKeySym.h +++ b/src/frontends/LyXKeySym.h @@ -12,7 +12,7 @@ #ifndef LYXKEYSYM_H #define LYXKEYSYM_H -#include "support/std_string.h" +#include /** * This is a base class for representing a keypress. @@ -27,7 +27,7 @@ public: virtual ~LyXKeySym() {} /// Initialize with the name of a key. F. ex. "space" or "a" - virtual void init(string const & symbolname) = 0; + virtual void init(std::string const & symbolname) = 0; /// Is this a valid key? virtual bool isOK() const = 0; @@ -39,14 +39,14 @@ public: virtual bool isText() const { return false; } /// What is the symbolic name of this key? F.ex. "Return" or "c" - virtual string getSymbolName() const = 0; + virtual std::string getSymbolName() const = 0; /** * Return the value of the keysym into the local ISO encoding. * This converts the LyXKeySym to a 8-bit encoded character. * This relies on user to use the right encoding. */ - virtual char getISOEncoded(string const & encoding) const = 0; + virtual char getISOEncoded(std::string const & encoding) const = 0; };