Diffstat (limited to 'noncore/apps/opie-reader/plucker.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/plucker.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/noncore/apps/opie-reader/plucker.h b/noncore/apps/opie-reader/plucker.h index 84e855c..d3ca732 100644 --- a/noncore/apps/opie-reader/plucker.h +++ b/noncore/apps/opie-reader/plucker.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define __plucker_h | 2 | #define __plucker_h |
3 | 3 | ||
4 | #include "CExpander.h" | 4 | #include "CExpander.h" |
5 | #include <zlib.h> | 5 | #include "zlib/zlib.h" |
6 | #include "ztxt.h" | 6 | #include "ztxt.h" |
7 | #include "pdb.h" | 7 | #include "pdb.h" |
8 | #include "CBuffer.h" | 8 | #include "CBuffer.h" |
@@ -58,17 +58,17 @@ class CPlucker : public CExpander, Cpdb | |||
58 | int bgetch(); | 58 | int bgetch(); |
59 | public: | 59 | public: |
60 | virtual void sizes(unsigned long& _file, unsigned long& _text) | 60 | virtual void sizes(unsigned long& _file, unsigned long& _text) |
61 | { | 61 | { |
62 | _file = file_length; | 62 | _file = file_length; |
63 | _text = textlength; | 63 | _text = textlength; |
64 | //ntohl(hdr0.size); | 64 | //ntohl(hdr0.size); |
65 | } | 65 | } |
66 | virtual bool hasrandomaccess() { return true; } | 66 | virtual bool hasrandomaccess() { return true; } |
67 | virtual ~CPlucker() | 67 | virtual ~CPlucker() |
68 | { | 68 | { |
69 | if (expandedtextbuffer != NULL) delete [] expandedtextbuffer; | 69 | if (expandedtextbuffer != NULL) delete [] expandedtextbuffer; |
70 | if (compressedtextbuffer != NULL) delete [] compressedtextbuffer; | 70 | if (compressedtextbuffer != NULL) delete [] compressedtextbuffer; |
71 | } | 71 | } |
72 | CPlucker(); | 72 | CPlucker(); |
73 | virtual int openfile(const char *src); | 73 | virtual int openfile(const char *src); |
74 | virtual int getch(); | 74 | virtual int getch(); |
@@ -78,9 +78,9 @@ class CPlucker : public CExpander, Cpdb | |||
78 | virtual CList<Bkmk>* getbkmklist(); | 78 | virtual CList<Bkmk>* getbkmklist(); |
79 | virtual bool hyperlink(unsigned int n); | 79 | virtual bool hyperlink(unsigned int n); |
80 | virtual MarkupType PreferredMarkup() | 80 | virtual MarkupType PreferredMarkup() |
81 | { | 81 | { |
82 | return cNONE; | 82 | return cNONE; |
83 | } | 83 | } |
84 | }; | 84 | }; |
85 | 85 | ||
86 | #endif | 86 | #endif |