]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.h
A couple comments and some very minor cleanup.
[lyx.git] / src / Counters.h
index fdae212a262ee9947b82abfea786f09ea85abf1c..e081ad21bbc8e8939ca2f22aa54309b49c850052 100644 (file)
@@ -99,8 +99,10 @@ public:
        /// Checks whether the given counter exists.
        bool hasCounter(docstring const & c) const;
        /// reads the counter name
+       /// \param makeNew whether to make a new counter if one 
+       ///        doesn't already exist
        /// \return true on success
-       bool read(Lexer & lex, docstring const & name);
+       bool read(Lexer & lex, docstring const & name, bool makenew);
        ///
        void set(docstring const & ctr, int val);
        ///