]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
zlib stuff
[lyx.git] / src / lyxlex_pimpl.h
index dd18a1262f70cce19d2ec75f66307fcd80dad229..bc5876aba61f1e82dfaca4b284dfd1cd3b08e406 100644 (file)
@@ -5,6 +5,8 @@
 
 #include "lyxlex.h"
 
+#include "support/gzstream.h"
+
 #include <boost/utility.hpp>
 
 #include <fstream>
@@ -43,8 +45,11 @@ struct LyXLex::Pimpl : boost::noncopyable {
        bool nextToken();
        ///
        void pushToken(string const &);
-       /// fb__ is only used to open files, the stream is accessed through is
+       /// fb__ is only used to open files, the stream is accessed through is.
        std::filebuf fb__;
+       /// gz__ is only used to open files, the stream is accessed through is.
+       gz::gzstreambuf gz__;
+
        /// the stream that we use.
        std::istream is;
        ///