class Buffer;
class Toolbar;
-class MiniBuffer;
class Intl;
class Menubar;
+class ControlCommandBuffer;
class BufferView;
class Dialogs;
/// return the menubar for this view
Menubar * getMenubar() const;
- /// return the minibuffer for this view
- /// FIXME: I'm not at all sure that LyXFunc should be
- /// aware of a mini buffer as such
- MiniBuffer * getMiniBuffer() const;
-
/// get access to the dialogs
Dialogs * getDialogs() { return dialogs_.get(); }
/// update the menubar
void updateMenubar();
+ /// focus the command buffer (minibuffer)
+ boost::signal0<void> focus_command_buffer;
+
/// view state string changed
boost::signal0<void> view_state_changed;
/// display a message in the view
- void message(string const &);
- /// push a message onto the history, and show it
- void messagePush(string const & str);
- /// pop the last message pushed
- void messagePop();
+ virtual void message(string const &) = 0;
/// updates the title of the window
void updateWindowTitle();
boost::scoped_ptr<Menubar> menubar_;
/// view's toolbar
boost::scoped_ptr<Toolbar> toolbar_;
- /// view's minibuffer
- boost::scoped_ptr<MiniBuffer> minibuffer_;
+ /// view's command buffer controller
+ boost::scoped_ptr<ControlCommandBuffer> controlcommand_;
/// keyboard mapping object
boost::scoped_ptr<Intl> intl_;