mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23897 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
821e276407
commit
8a14d5380a
14
src/LyX.cpp
14
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<string, Messages>::iterator it = pimpl_->messages_.find(language);
|
||||
@ -1353,7 +1341,7 @@ ServerSocket & theServerSocket()
|
||||
|
||||
KeyMap & theTopLevelKeymap()
|
||||
{
|
||||
return LyX::ref().topLevelKeymap();
|
||||
return LyX::ref().pimpl_->toplevel_keymap_;
|
||||
}
|
||||
|
||||
|
||||
|
19
src/LyX.h
19
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
|
||||
|
Loading…
Reference in New Issue
Block a user