#include <sigc++/signal_system.h>
#include "LString.h"
-#include "frontends/Timeout.h"
#include "support/types.h"
class Buffer;
class BufferView;
class Dialogs;
class LyXFunc;
+class Timeout;
///
class LyXView : public SigC::Object, boost::noncopyable {
Toolbar * getToolbar() const;
/// sets the layout in the toolbar layout combox
- void setLayout(lyx::layout_type layout);
-
+ void setLayout(string const & layout);
/// update the toolbar
void updateToolbar();
void messagePush(string const & str);
///
void messagePop();
-
+
///
Menubar * getMenubar() const;
protected:
///
Menubar * menubar;
- ///
+ ///
Toolbar * toolbar;
/** This is supposed to be a pointer or a list of pointers to the
BufferViews currently being shown in the LyXView. So far
this is not used, but that should change pretty soon. (Lgb) */
BufferView * bufferview;
- ///
+ ///
MiniBuffer * minibuffer;
///
Intl * intl;
///
- Timeout autosave_timeout;
+ Timeout * autosave_timeout;
/// A callback
void AutoSave();
///
void invalidateLayoutChoice();
private:
- ///
+ ///
LyXFunc * lyxfunc;
///
Dialogs * dialogs_;
///
- virtual void setWindowTitle(string const &) = 0;
+ virtual void setWindowTitle(string const &, string const &) = 0;
/** The last textclass layout list in the layout choice selector
This should probably be moved to the toolbar, but for now it's
here. (Asger) */