]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
* lib/languages:
[lyx.git] / src / lyxlex_pimpl.h
index a5cb4a9d78e9e3ccf908cf9c643374386905d289..c844fb4c1ca56d4a3baecdd5d44d1032e8250c4d 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);
        ///