]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
Add margin to paragraph dialog.
[lyx.git] / src / lyxlex_pimpl.h
index a5cb4a9d78e9e3ccf908cf9c643374386905d289..7fe3905b293b8d3d883b51d280e286856fbd5e3e 100644 (file)
@@ -23,7 +23,6 @@ namespace io = boost::iostreams;
 
 #include <boost/utility.hpp>
 
-#include <fstream>
 #include <istream>
 #include <stack>
 #include <vector>
@@ -31,6 +30,8 @@ namespace io = boost::iostreams;
 
 namespace lyx {
 
+namespace support { class FileName; }
+
 ///
 class LyXLex::Pimpl : boost::noncopyable {
 public:
@@ -49,7 +50,7 @@ public:
        ///
        void popTable();
        ///
-       bool setFile(std::string const & filename);
+       bool setFile(support::FileName const & filename);
        ///
        void setStream(std::istream & i);
        ///
@@ -64,6 +65,8 @@ public:
        bool eatLine();
        ///
        bool nextToken();
+       /// test if there is a pushed token or the stream is ok
+       bool inputAvailable();
        ///
        void pushToken(std::string const &);
        /// fb_ is only used to open files, the stream is accessed through is.