From: André Pönitz Date: Sat, 22 Mar 2008 09:32:38 +0000 (+0000) Subject: cosmetics X-Git-Tag: 1.6.10~5489 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8a14d5380af9bd9e89e5b009d258e7e4b90630f2;p=features.git cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23897 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyX.cpp b/src/LyX.cpp index b58e614e14..552b51181b 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -304,12 +304,6 @@ frontend::Application const & LyX::application() const } -KeyMap & LyX::topLevelKeymap() -{ - return pimpl_->toplevel_keymap_; -} - - CmdDef & LyX::topLevelCmdDef() { return pimpl_->toplevel_cmddef_; @@ -328,12 +322,6 @@ Converters & LyX::systemConverters() } -KeyMap const & LyX::topLevelKeymap() const -{ - return pimpl_->toplevel_keymap_; -} - - Messages & LyX::getMessages(string const & language) { map::iterator it = pimpl_->messages_.find(language); @@ -1353,7 +1341,7 @@ ServerSocket & theServerSocket() KeyMap & theTopLevelKeymap() { - return LyX::ref().topLevelKeymap(); + return LyX::ref().pimpl_->toplevel_keymap_; } diff --git a/src/LyX.h b/src/LyX.h index b7fd220b85..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(); @@ -173,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