X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCounters.h;h=57fff35faee57d094245a4870e88955f338fc6d3;hb=f3862130cf687854dbff2df348f34659ca602a02;hp=7a82df430148eb76ed8c8831409298d9f08ae965;hpb=f5c7acb140230dd0b6d96118ebab0ec364e2951c;p=features.git diff --git a/src/Counters.h b/src/Counters.h index 7a82df4301..57fff35fae 100644 --- a/src/Counters.h +++ b/src/Counters.h @@ -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