summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-09-14 03:10:21 (UTC)
committer llornkcor <llornkcor>2002-09-14 03:10:21 (UTC)
commita17482a473c90c7e030bbf7a03b252fdaf53c2ed (patch) (side-by-side diff)
treef97827d63f6a8d40ad9df7bc96907a2bdcfc3be2 /noncore
parent2f55be65436cb05a8580f4a436f94bce9de48da7 (diff)
downloadopie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.zip
opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.gz
opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.bz2
zlib.h include dir change
Diffstat (limited to 'noncore') (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
@@ -2,5 +2,5 @@
#define __Text_h
#include <stdio.h>
-#include <zlib.h>
+#include "zlib/zlib.h"
#include <sys/stat.h>
@@ -34,5 +34,5 @@ public:
virtual MarkupType PreferredMarkup()
{
- 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
@@ -3,5 +3,5 @@
#include "CExpander.h"
-#include <zlib.h>
+#include "zlib/zlib.h"
#include "ztxt.h"
#include "pdb.h"
@@ -59,15 +59,15 @@ class CPlucker : public CExpander, Cpdb
public:
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();
virtual int openfile(const char *src);
@@ -79,7 +79,7 @@ class CPlucker : public CExpander, Cpdb
virtual bool hyperlink(unsigned int n);
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
@@ -3,5 +3,5 @@
#include "CExpander.h"
-#include <zlib.h>
+#include "zlib/zlib.h"
#include "pdb.h"
/*
@@ -77,18 +77,18 @@ class ztxt : public CExpander, Cpdb
public:
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();
virtual int openfile(const char *src);
@@ -98,7 +98,7 @@ class ztxt : public CExpander, Cpdb
virtual CList<Bkmk>* getbkmklist();
virtual MarkupType PreferredMarkup()
- {
- return cTEXT;
- }
+ {
+ return cTEXT;
+ }
};