]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.h
Remove undisclosed imports (from xxx import *)
[lyx.git] / src / Counters.h
index 5be4aca197b8df7b878f628f6d483452864da919..67a790fc0c93b3c5a96f6d6387cb0d5883dd2195 100644 (file)
@@ -26,7 +26,8 @@
 namespace lyx {
 
 class Layout;
-class Lexer;
+
+namespace support { class Lexer; }
 
 /// This represents a single counter.
 class Counter {
@@ -38,7 +39,7 @@ public:
                docstring const & lsa, docstring const & prettyformat,
                docstring const & guiname);
        /// \return true on success
-       bool read(Lexer & lex);
+       bool read(support::Lexer & lex);
        ///
        void set(int v);
        ///
@@ -142,7 +143,7 @@ public:
        /// \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 makenew);
+       bool read(support::Lexer & lex, docstring const & name, bool makenew);
        ///
        void set(docstring const & ctr, int val);
        ///