X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyX.h;h=3d98e42b8edb5100c719d27152f7e0c6e6018969;hb=d8ab0622c5354ae2d181e9eae56764211285706c;hp=0d8616eff9b98eef606cb2631ec62e76ae1f4049;hpb=8c8ff137dad6e998f60ac60e328a232a6c71c6c1;p=lyx.git diff --git a/src/LyX.h b/src/LyX.h index 0d8616eff9..3d98e42b8e 100644 --- a/src/LyX.h +++ b/src/LyX.h @@ -18,24 +18,18 @@ namespace lyx { -namespace support { -class FileName; -} - -class Buffer; class BufferList; +class CmdDef; class Converters; class ErrorItem; -class Inset; +class KeyMap; class LyXFunc; -class Server; -class ServerSocket; class Messages; class Mover; class Movers; +class Server; +class ServerSocket; class Session; -class KeyMap; -class CmdDef; extern bool use_gui; @@ -85,10 +79,6 @@ public: frontend::Application & application(); frontend::Application const & application() const; - /// - KeyMap & topLevelKeymap(); - KeyMap const & topLevelKeymap() const; - /// CmdDef & topLevelCmdDef(); @@ -137,8 +127,6 @@ private: /// initial LyX set up bool init(); - /// set up the default dead key bindings if requested - void deadKeyBindings(KeyMap * kbmap); /** Check for the existence of the user's support directory and, * if not present, create it. Exits the program if the directory * cannot be created. @@ -175,6 +163,7 @@ private: friend void setMover(std::string const & fmt, std::string const & command); friend Movers & theSystemMovers(); friend frontend::Application * theApp(); + friend KeyMap & theTopLevelKeymap(); }; } // namespace lyx