Scribus
Open source desktop publishing at your fingertips
scstreamfilter_flate.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 
8 #ifndef SCSTREAMFILTER_FLATE_H
9 #define SCSTREAMFILTER_FLATE_H
10 
11 #include "scstreamfilter.h"
12 
14 
16 {
17 protected:
18 
19  ScFlateEncodeFilterData* m_filterData;
20 
21  void freeData(void);
22  bool m_openedFilter;
23 
24  bool writeDeflate(bool flush);
25 
26 public:
27  ScFlateEncodeFilter(QDataStream* stream);
30 
31  virtual bool openFilter (void);
32  virtual bool closeFilter(void);
33 
34  virtual bool writeData(const char* data, int dataLen);
35 };
36 
37 #endif
Definition: scstreamfilter_flate.cpp:18
Definition: scstreamfilter_flate.h:15
Definition: scstreamfilter.h:14