]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Partially revert r34995, which broke math output. Not sure why yet....
[lyx.git] / src / Buffer.h
index 7f19fd1f58e55f159e435f31f76589ac978c07dc..54e66ab3dd0c6a95224511aa8c1e48d4946f77a0 100644 (file)
@@ -13,7 +13,6 @@
 #define BUFFER_H
 
 #include "OutputEnums.h"
-#include "update_flags.h"
 
 #include "insets/InsetCode.h"
 
@@ -38,8 +37,8 @@ class ErrorList;
 class FuncRequest;
 class FuncStatus;
 class Inset;
-class InsetRef;
 class InsetLabel;
+class InsetRef;
 class Font;
 class Format;
 class Lexer;
@@ -505,7 +504,7 @@ public:
        ///
        void moveAutosaveFile(support::FileName const & old) const;
        ///
-       support::FileName getAutosaveFilename() const;
+       support::FileName getAutosaveFileName() const;
 
        /// return the format of the buffer on a string
        std::string bufferFormat() const;
@@ -526,6 +525,10 @@ public:
        std::vector<Format const *> exportableFormats(bool only_viewable) const;
        ///
        bool isExportableFormat(std::string const & format) const;
+       /// mark the buffer as busy exporting something, or not
+       void setExportStatus(bool e) const;
+       ///
+       bool isExporting() const;
 
        ///
        typedef std::vector<std::pair<Inset *, ParIterator> > References;