]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
Fix event loop to no longer eat CPU
[lyx.git] / src / lyxlex.h
index 9797b8a8a9cd81b3c48d1c83fd054662a51a1c2e..dc16b52b1a7a7a19c3f1764d72dbb123e70c02fa 100644 (file)
@@ -96,7 +96,7 @@ public:
        ///
        bool getBool() const;
        ///
-       float getFloat() const;
+       double getFloat() const;
        ///
        std::string const getString() const;
 
@@ -131,8 +131,6 @@ public:
 
        /// extract string
        LyXLex & operator>>(std::string &);
-       /// extract float
-       LyXLex & operator>>(float &);
        /// extract double
        LyXLex & operator>>(double &);
        /// extract integer
@@ -143,7 +141,7 @@ public:
        LyXLex & operator>>(bool &);
 
 private:
-       struct Pimpl;
+       class Pimpl;
        ///
        Pimpl * pimpl_;
 };
@@ -155,7 +153,8 @@ private:
     exceptions.
     @author Lgb
 */
-struct pushpophelper {
+class pushpophelper {
+public:
        ///
        pushpophelper(LyXLex & lexrc, keyword_item * i, int s) : lex(lexrc) {
                lex.pushTable(i, s);