]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
* lib/languages:
[lyx.git] / src / lyxlex_pimpl.h
index 1a66c47725d0ee1694100bf2043263d4c5d9692f..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);
        ///
@@ -81,7 +82,7 @@ public:
        ///
        int no_items;
        ///
-       std::vector<char> buff;
+       std::string buff;
        ///
        int status;
        ///