]> git.lyx.org Git - lyx.git/blobdiff - src/lyxparagraph.h
fix "make dist" target
[lyx.git] / src / lyxparagraph.h
index 0d0c87a35dc4715bb0aa407e1e9ead7397d26177..e99828da8aa2953ce3d257c5f35deffe01d75d6d 100644 (file)
@@ -34,10 +34,16 @@ class InsetBibKey;
 class BufferView;
 class Language;
 
-// I dare you to enable this and help me find all the bugs that then show
-// up. (Lgb)
-#define NEW_INSETS 1
-#define NO_PEXTRA 1
+// After 1.2.0 is released, during 1.3.0cvs, we enable this. And after
+// a while we verify that reading of 1.2.x files work perfectly we remove
+// this code completely. (Lgb)
+//#define NO_PEXTRA_REALLY 1
+
+// Define this if you want to try out the new storage container for
+// paragraphs. std::container instead of obfuscated homegrown
+// linked list. (Lgb)
+// This is non working and far from finished.
+// #define NO_NEXT 1
 
 /// A LyXParagraph holds all text, attributes and insets in a text paragraph
 class LyXParagraph  {
@@ -88,6 +94,8 @@ public:
        /// this constructor inserts the new paragraph in a list
        explicit
        LyXParagraph(LyXParagraph * par);
+       ///
+       LyXParagraph(LyXParagraph const &);
        /// the destructor removes the new paragraph from the list
        ~LyXParagraph();
 
@@ -108,7 +116,7 @@ public:
        
        ///
        void writeFile(Buffer const *, std::ostream &, BufferParams const &,
-                      char, char) const;
+                      char) const;
        ///
        void validate(LaTeXFeatures &) const;
        
@@ -130,9 +138,6 @@ public:
        ///
        LyXParagraph * TeXEnvironment(Buffer const *, BufferParams const &,
                                      std::ostream &, TexRow & texrow);
-       ///
-       LyXParagraph * Clone() const;
-       
        ///
        bool HasSameLayout(LyXParagraph const * par) const;