]> git.lyx.org Git - lyx.git/blobdiff - src/insets/lyxinset.h
Small fixes from Lior and Angus
[lyx.git] / src / insets / lyxinset.h
index 0e50b02f49b2f7889945ba8252cbf1489296a295..a8b2d2cc73a36fd7b08ddbb9b5bbb0122d31bdd9 100644 (file)
@@ -103,7 +103,11 @@ public:
                ///
                THEOREM_CODE, // 30
                ///
-               CAPTION_CODE
+               CAPTION_CODE,
+               ///
+               MATHMACRO_CODE,
+               ///
+               ERROR_CODE
        };
 
        ///
@@ -190,7 +194,7 @@ public:
        }
 
        ///
-       virtual Inset * Clone() const = 0;
+       virtual Inset * Clone(Buffer const &) const = 0;
 
        /// returns true to override begin and end inset in file
        virtual bool DirectWrite() const;
@@ -221,7 +225,7 @@ public:
        // because we could have fake text insets and have to call this
        // inside them without cast!!!
        ///
-       virtual LyXText * getLyXText(BufferView *) const;
+       virtual LyXText * getLyXText(BufferView const *) const;
        ///
        virtual void deleteLyXText(BufferView *, bool = true) const {}
        ///