]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetRef.h
index 37a7c3ec3cdc61cc82c7f4c5b37d066fe9923720..8683ecf9899b9de82de088c70ee3164c31d4cb41 100644 (file)
@@ -73,7 +73,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       void updateBuffer(ParIterator const & it, UpdateType);
+       void updateBuffer(ParIterator const & it, UpdateType, bool const deleted = false);
        ///
        void addToToc(DocIterator const & di, bool output_active,
                                  UpdateType utype, TocBackend & backend) const;
@@ -90,6 +90,8 @@ public:
        ///
        static bool isCompatibleCommand(std::string const & s);
        //@}
+       ///
+       bool outputActive() const { return active_; }
 
 protected:
        ///
@@ -122,6 +124,8 @@ private:
        ///
        mutable bool broken_;
        ///
+       mutable bool active_;
+       ///
        mutable docstring tooltip_;
 };