#include "FuncRequest.h"
#include "gettext.h"
#include "Intl.h"
-#include "lyx_cb.h"
+#include "callback.h"
#include "LyXFunc.h"
#include "LyXRC.h"
-#include "LyXText.h"
+#include "Text.h"
#include "MenuBackend.h"
#include "Paragraph.h"
boost::bind(&WorkArea::redraw, work_area_));
bufferStructureChangedConnection_ =
- buf.structureChanged.connect(
+ buf.getMasterBuffer()->structureChanged.connect(
boost::bind(&LyXView::updateToc, this));
errorsConnection_ =
void LyXView::showInsetDialog(string const & name, string const & data,
- InsetBase * inset)
+ Inset * inset)
{
getDialogs().show(name, data, inset);
}
// Update the layout display
if (toolbars_->updateLayoutList(buffer()->params().textclass)) {
- current_layout = buffer()->params().getLyXTextClass().defaultLayoutName();
+ current_layout = buffer()->params().getTextClass().defaultLayoutName();
}
BOOST_ASSERT(work_area_);
}
-Buffer const * const LyXView::updateInset(InsetBase const * inset) const
+Buffer const * const LyXView::updateInset(Inset const * inset) const
{
Buffer const * buffer_ptr = 0;
if (inset) {