]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.h
Less expensive OP first as this might be called often.
[lyx.git] / src / Counters.h
index 7a82df430148eb76ed8c8831409298d9f08ae965..57fff35faee57d094245a4870e88955f338fc6d3 100644 (file)
@@ -162,6 +162,8 @@ public:
        void reset();
        /// Reset counters matched by match string.
        void reset(docstring const & match);
+       /// Copy counter \p cnt to \p newcnt.
+       bool copy(docstring const & cnt, docstring const & newcnt);
        /// Remove counter \p cnt.
        bool remove(docstring const & cnt);
        /** returns the expanded string representation of counter \c