]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / buffer.h
index 9e78027cfcc50a36586a53f3266482f233c42f3d..598ea56015991c8dd20318aef7555926083617e4 100644 (file)
@@ -223,7 +223,13 @@ public:
        
         ///
         void markNwDirty() { nw_clean = false; }
-       
+
+       ///
+       void setUnnamed(bool flag=true) { unnamed = flag; }
+
+       ///
+       bool isUnnamed() { return unnamed; }
+
        ///
        void markDirty() {
                if (lyx_clean) {
@@ -397,6 +403,9 @@ private:
         /// do we need to run weave/tangle
         bool nw_clean;
 
+       /// is this a unnamed file (New...)
+       bool unnamed;
+
        /// is regenerating .tex necessary
        DEPCLEAN * dep_clean;