summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/ZText.h4
-rw-r--r--noncore/apps/opie-reader/plucker.h24
-rw-r--r--noncore/apps/opie-reader/ztxt.h32
3 files changed, 30 insertions, 30 deletions
diff --git a/noncore/apps/opie-reader/ZText.h b/noncore/apps/opie-reader/ZText.h
index 9e72161..debfe8c 100644
--- a/noncore/apps/opie-reader/ZText.h
+++ b/noncore/apps/opie-reader/ZText.h
@@ -3,3 +3,3 @@
#include <stdio.h>
-#include <zlib.h>
+#include "zlib/zlib.h"
#include <sys/stat.h>
@@ -35,3 +35,3 @@ public:
{
- return cTEXT;
+ return cTEXT;
}
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
@@ -4,3 +4,3 @@
#include "CExpander.h"
-#include <zlib.h>
+#include "zlib/zlib.h"
#include "ztxt.h"
@@ -60,13 +60,13 @@ class CPlucker : public CExpander, Cpdb
virtual void sizes(unsigned long& _file, unsigned long& _text)
- {
- _file = file_length;
- _text = textlength;
+ {
+ _file = file_length;
+ _text = textlength;
//ntohl(hdr0.size);
- }
+ }
virtual bool hasrandomaccess() { return true; }
virtual ~CPlucker()
- {
- if (expandedtextbuffer != NULL) delete [] expandedtextbuffer;
- if (compressedtextbuffer != NULL) delete [] compressedtextbuffer;
- }
+ {
+ if (expandedtextbuffer != NULL) delete [] expandedtextbuffer;
+ if (compressedtextbuffer != NULL) delete [] compressedtextbuffer;
+ }
CPlucker();
@@ -80,5 +80,5 @@ class CPlucker : public CExpander, Cpdb
virtual MarkupType PreferredMarkup()
- {
- return cNONE;
- }
+ {
+ return cNONE;
+ }
};
diff --git a/noncore/apps/opie-reader/ztxt.h b/noncore/apps/opie-reader/ztxt.h
index 7be45c0..20558a6 100644
--- a/noncore/apps/opie-reader/ztxt.h
+++ b/noncore/apps/opie-reader/ztxt.h
@@ -4,3 +4,3 @@
#include "CExpander.h"
-#include <zlib.h>
+#include "zlib/zlib.h"
#include "pdb.h"
@@ -78,16 +78,16 @@ class ztxt : public CExpander, Cpdb
virtual void sizes(unsigned long& _file, unsigned long& _text)
- {
- _file = file_length;
- _text = ntohl(hdr0.size);
- }
+ {
+ _file = file_length;
+ _text = ntohl(hdr0.size);
+ }
virtual bool hasrandomaccess() { return (hdr0.randomAccess != 0); }
virtual ~ztxt()
- {
- if (expandedtextbuffer != NULL) delete [] expandedtextbuffer;
- if (compressedtextbuffer != NULL) delete [] compressedtextbuffer;
- if (bInit)
- {
- inflateEnd(&zstream);
- }
- }
+ {
+ if (expandedtextbuffer != NULL) delete [] expandedtextbuffer;
+ if (compressedtextbuffer != NULL) delete [] compressedtextbuffer;
+ if (bInit)
+ {
+ inflateEnd(&zstream);
+ }
+ }
ztxt();
@@ -99,5 +99,5 @@ class ztxt : public CExpander, Cpdb
virtual MarkupType PreferredMarkup()
- {
- return cTEXT;
- }
+ {
+ return cTEXT;
+ }
};