diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-21 02:27:24 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-21 02:27:24 +0200 |
commit | 748ab301d4f17c77393b08de4ef541b957bde275 (patch) | |
tree | 5801b2c2f64a3ea3873bfd46fb3ac0cfeb9cc411 /include/qpdf/Pl_Flate.hh | |
parent | eff113fa6891387fc16c179ab5ef6f15674513ec (diff) | |
download | qpdf-748ab301d4f17c77393b08de4ef541b957bde275.tar.zst |
go back to function-based DLL_EXPORT rather than class-based to avoid creation of export files with executables under msvc
git-svn-id: svn+q:///qpdf/trunk@849 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/Pl_Flate.hh')
-rw-r--r-- | include/qpdf/Pl_Flate.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/Pl_Flate.hh b/include/qpdf/Pl_Flate.hh index 6cbd148f..286d80e8 100644 --- a/include/qpdf/Pl_Flate.hh +++ b/include/qpdf/Pl_Flate.hh @@ -12,18 +12,22 @@ #include <zlib.h> -class DLL_EXPORT Pl_Flate: public Pipeline +class Pl_Flate: public Pipeline { public: static int const def_bufsize = 65536; enum action_e { a_inflate, a_deflate }; + DLL_EXPORT Pl_Flate(char const* identifier, Pipeline* next, action_e action, int out_bufsize = def_bufsize); + DLL_EXPORT virtual ~Pl_Flate(); + DLL_EXPORT virtual void write(unsigned char* data, int len); + DLL_EXPORT virtual void finish(); private: |