#include "KeySequence.h"
#include "lfuns.h"
-#include "TextClassPtr.h"
#include "support/docstring.h"
class FuncStatus;
class KeySymbol;
class Text;
+class TextClassIndex;
namespace support {
class FileName;
class LyXView;
}
+
/** This class encapsulates all the LyX command operations.
This is the class of the LyX's "high level event handler".
Every user command is processed here, either invocated from
/// 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();
///
///
bool ensureBufferClean(BufferView * bv);
///
- void updateLayout(TextClassPtr const & oldlayout, Buffer * buffer);
+ void updateLayout(TextClassIndex const & oldlayout, Buffer * buffer);
};
/// Implementation is in LyX.cpp