]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / lyxlex_pimpl.h
index ae7cbf7fd9faf31b6d30fee58cfdeca2c2050b39..d0ec72e4567c7c586b04cf7fc24507860c3d4f87 100644 (file)
@@ -3,15 +3,12 @@
 #ifndef LYXLEX_PIMPL_H
 #define LYXLEX_PIMPL_H
 
-#include <fstream>
-#include <stack>
-#include <boost/utility.hpp>
-
 #include "lyxlex.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <boost/utility.hpp>
+
+#include <fstream>
+#include <stack>
 
 ///
 struct LyXLex::Pimpl : boost::noncopyable {
@@ -20,11 +17,11 @@ struct LyXLex::Pimpl : boost::noncopyable {
                ///
                LEX_MAX_BUFF = 2048
        };
-       
+
        ///
        Pimpl(keyword_item * tab, int num);
        ///
-       string const GetString() const;
+       string const getString() const;
        ///
        void printError(string const & message) const;
        ///
@@ -46,7 +43,7 @@ struct LyXLex::Pimpl : boost::noncopyable {
        ///
        int lex();
        ///
-       bool EatLine();
+       bool eatLine();
        ///
        bool nextToken();
        ///
@@ -55,7 +52,7 @@ struct LyXLex::Pimpl : boost::noncopyable {
        std::filebuf fb__;
        /// the stream that we use.
        std::istream is;
-       /// 
+       ///
        string name;
        ///
        keyword_item * table;
@@ -64,7 +61,7 @@ struct LyXLex::Pimpl : boost::noncopyable {
        ///
        char buff[LEX_MAX_BUFF];
        ///
-       short status;
+       int status;
        ///
        int lineno;
        ///