X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCounters.h;h=360e297070a3bc256bb6f3325ef5d2388b420d63;hb=d7dfa275749c4dde6aac4ce55e8e3f92d9362d8a;hp=4ba0d004846d2f0f8361e10d9286d5f0754b03f4;hpb=72e038f03e8640494c487f54a7f85031a16c2177;p=lyx.git diff --git a/src/Counters.h b/src/Counters.h index 4ba0d00484..360e297070 100644 --- a/src/Counters.h +++ b/src/Counters.h @@ -130,6 +130,10 @@ public: int value(docstring const & ctr) const; /// Reset recursively all the counters that are slaves of the one named by \c ctr. void resetSlaves(docstring const & ctr); + /// Increment by one master of counter named by \c ctr. + /// This also resets the counter named by \c ctr. + /// \param utype determines whether we track the counters. + void stepMaster(docstring const & ctr, UpdateType utype); /// Increment by one counter named by \c ctr, and zeroes slave /// counter(s) for which it is the master. /// \param utype determines whether we track the counters.