#include "KeySequence.h"
#include "lfuns.h"
-#include "TextClass.h"
+#include "TextClassPtr.h"
#include "support/docstring.h"
class KeySymbol;
class Text;
+namespace support {
+class FileName;
+}
+
namespace frontend {
class LyXView;
}
/// 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?
+
private:
///
BufferView * view() const;