Diffstat (limited to 'noncore/apps/opie-reader/ztxt.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ztxt.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/ztxt.h b/noncore/apps/opie-reader/ztxt.h index 6352cfc..7be45c0 100644 --- a/noncore/apps/opie-reader/ztxt.h +++ b/noncore/apps/opie-reader/ztxt.h | |||
@@ -1,18 +1,17 @@ | |||
1 | #ifndef __ztxt_h | 1 | #ifndef __ztxt_h |
2 | #define __ztxt_h | 2 | #define __ztxt_h |
3 | 3 | ||
4 | #include "CExpander.h" | 4 | #include "CExpander.h" |
5 | #include "zlib/zlib.h" | 5 | #include <zlib.h> |
6 | //#include <zlib.h> | ||
7 | #include "pdb.h" | 6 | #include "pdb.h" |
8 | /* | 7 | /* |
9 | * Stuff common to both Weasel Reader and makeztxt | 8 | * Stuff common to both Weasel Reader and makeztxt |
10 | * | 9 | * |
11 | * $Id$ | 10 | * $Id$ |
12 | * | 11 | * |
13 | */ | 12 | */ |
14 | 13 | ||
15 | #ifndef _WEASEL_COMMON_H_ | 14 | #ifndef _WEASEL_COMMON_H_ |
16 | #define _WEASEL_COMMON_H_ 1 | 15 | #define _WEASEL_COMMON_H_ 1 |
17 | 16 | ||
18 | 17 | ||
@@ -88,16 +87,19 @@ class ztxt : public CExpander, Cpdb | |||
88 | if (compressedtextbuffer != NULL) delete [] compressedtextbuffer; | 87 | if (compressedtextbuffer != NULL) delete [] compressedtextbuffer; |
89 | if (bInit) | 88 | if (bInit) |
90 | { | 89 | { |
91 | inflateEnd(&zstream); | 90 | inflateEnd(&zstream); |
92 | } | 91 | } |
93 | } | 92 | } |
94 | ztxt(); | 93 | ztxt(); |
95 | virtual int openfile(const char *src); | 94 | virtual int openfile(const char *src); |
96 | virtual int getch(); | 95 | virtual int getch(); |
97 | virtual unsigned int locate(); | 96 | virtual unsigned int locate(); |
98 | virtual void locate(unsigned int n); | 97 | virtual void locate(unsigned int n); |
99 | virtual CList<Bkmk>* getbkmklist(); | 98 | virtual CList<Bkmk>* getbkmklist(); |
99 | virtual MarkupType PreferredMarkup() | ||
100 | { | ||
101 | return cTEXT; | ||
102 | } | ||
100 | }; | 103 | }; |
101 | 104 | ||
102 | #endif | 105 | #endif |
103 | |||