Scribus
Open source desktop publishing at your fingertips
scstreamfilter_ascii85.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_ASCII95_H
9 #define SCSTREAMFILTER_ASCII95_H
10 
11 #include "scstreamfilter.h"
12 
13 #include <QByteArray>
14 
16 {
17 protected:
18 
19  QByteArray m_buffer;
20  int m_buffer_pending;
21 
22  unsigned char m_four_tuple[4];
23  int m_four_tuple_pending;
24 
25 public:
26  ScASCII85EncodeFilter(QDataStream* stream);
28 
29  virtual bool openFilter (void);
30  virtual bool closeFilter(void);
31 
32  virtual bool writeData(const char* data, int dataLen);
33 };
34 
35 #endif
Definition: scstreamfilter_ascii85.h:15
Definition: scstreamfilter.h:14