]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
- remove some unused code
[lyx.git] / src / lyxlex_pimpl.h
index 3090b5d6d9d958734d1e127e8ef46a2ef9747e27..9aecd59bd3d118a03b5ac246bfd960fdf2682d76 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <fstream>
 #include <stack>
+#include <boost/utility.hpp>
 
 #include "lyxlex.h"
 
@@ -13,7 +14,7 @@
 #endif
 
 ///
-struct LyXLex::Pimpl : public noncopyable {
+struct LyXLex::Pimpl : boost::noncopyable {
        ///
        enum {
                ///
@@ -23,7 +24,7 @@ struct LyXLex::Pimpl : public noncopyable {
        ///
        Pimpl(keyword_item * tab, int num);
        ///
-       string const GetString() const;
+       string const getString() const;
        ///
        void printError(string const & message) const;
        ///
@@ -45,7 +46,7 @@ struct LyXLex::Pimpl : public noncopyable {
        ///
        int lex();
        ///
-       bool EatLine();
+       bool eatLine();
        ///
        bool nextToken();
        ///
@@ -63,7 +64,7 @@ struct LyXLex::Pimpl : public noncopyable {
        ///
        char buff[LEX_MAX_BUFF];
        ///
-       short status;
+       int status;
        ///
        int lineno;
        ///