}
-KeyMap & LyX::topLevelKeymap()
-{
- return pimpl_->toplevel_keymap_;
-}
-
-
CmdDef & LyX::topLevelCmdDef()
{
return pimpl_->toplevel_cmddef_;
}
-KeyMap const & LyX::topLevelKeymap() const
-{
- return pimpl_->toplevel_keymap_;
-}
-
-
Messages & LyX::getMessages(string const & language)
{
map<string, Messages>::iterator it = pimpl_->messages_.find(language);
KeyMap & theTopLevelKeymap()
{
- return LyX::ref().topLevelKeymap();
+ return LyX::ref().pimpl_->toplevel_keymap_;
}
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;
frontend::Application & application();
frontend::Application const & application() const;
- ///
- KeyMap & topLevelKeymap();
- KeyMap const & topLevelKeymap() const;
-
///
CmdDef & topLevelCmdDef();
friend void setMover(std::string const & fmt, std::string const & command);
friend Movers & theSystemMovers();
friend frontend::Application * theApp();
+ friend KeyMap & theTopLevelKeymap();
};
} // namespace lyx