#include "KeySequence.h"
#include "lfuns.h"
-#include "TextClassPtr.h"
#include "support/docstring.h"
class Buffer;
class BufferView;
+class DocumentClass;
class FuncRequest;
class FuncStatus;
class KeySymbol;
/// not the current buffer
void gotoBookmark(unsigned int idx, bool openFile, bool switchToBuffer);
- /// load a buffer into the current workarea.
- Buffer * loadAndViewFile(support::FileName const & name, ///< File to load.
- bool tolastfiles = true); ///< append to the "Open recent" menu?
-
/// cursor x position before dispatch started
int cursorBeforeDispatchX() const {
return cursorPosBeforeDispatchX_;
void sendDispatchMessage(docstring const & msg,
FuncRequest const & ev);
- ///
- void open(std::string const &);
- ///
- void doImport(std::string const &);
- ///
- void closeBuffer();
///
void reloadBuffer();
///
bool ensureBufferClean(BufferView * bv);
///
- void updateLayout(TextClassPtr const & oldlayout, Buffer * buffer);
+ void updateLayout(DocumentClass * oldlayout, Buffer * buffer);
};
/// Implementation is in LyX.cpp