]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / lyxlex.h
index 5b2f85e54ee8320635e2631987f0457a674ce660..b85c8cc367b7b2ef641a6803a20c3995d80e126d 100644 (file)
@@ -29,7 +29,7 @@ struct keyword_item {
     texclass and others to come.
     @see lyxrc.C for an example of usage.
   */
-class LyXLex : public noncopyable { 
+class LyXLex : boost::noncopyable { 
 public:
        ///
        LyXLex (keyword_item *, int);
@@ -49,7 +49,7 @@ public:
        };
 
        /// file is open and end of file is not reached
-       bool IsOK() const;
+       bool isOK() const;
        /// return true if able to open file, else false
        bool setFile(string const & filename);
        ///
@@ -78,16 +78,16 @@ public:
        void pushToken(string const &);
        
        /// 
-       int GetLineNo() const;
+       int getLineNo() const;
        
        ///
-       int GetInteger() const;
+       int getInteger() const;
        ///
-       bool GetBool() const;
+       bool getBool() const;
        ///
-       float GetFloat() const;
+       float getFloat() const;
        ///
-       string const GetString() const;
+       string const getString() const;
        
        /** Get a long string, ended by the tag `endtag'.
            This string can span several lines. The first line
@@ -99,11 +99,11 @@ public:
        string const getLongString(string const & endtag);
        
        ///
-       bool EatLine();
+       bool eatLine();
        ///
-       int FindToken(char const * str[]);
+       int findToken(char const * str[]);
        ///
-       int CheckToken(char const * str[], int print_error);
+       int checkToken(char const * str[], int print_error);
 
        ///
        string const text() const;