From a17482a473c90c7e030bbf7a03b252fdaf53c2ed Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 14 Sep 2002 03:10:21 +0000 Subject: zlib.h include dir change --- 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 @@ -1,7 +1,7 @@ #ifndef __Text_h #define __Text_h #include -#include +#include "zlib/zlib.h" #include #include "CExpander.h" @@ -33,7 +33,7 @@ public: } virtual MarkupType PreferredMarkup() { - return cTEXT; + return cTEXT; } }; #endif 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 @@ #define __plucker_h #include "CExpander.h" -#include +#include "zlib/zlib.h" #include "ztxt.h" #include "pdb.h" #include "CBuffer.h" @@ -58,17 +58,17 @@ class CPlucker : public CExpander, Cpdb int bgetch(); 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); virtual int getch(); @@ -78,9 +78,9 @@ class CPlucker : public CExpander, Cpdb virtual CList* getbkmklist(); virtual bool hyperlink(unsigned int n); virtual MarkupType PreferredMarkup() - { - return cNONE; - } + { + return cNONE; + } }; #endif 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 @@ -2,7 +2,7 @@ #define __ztxt_h #include "CExpander.h" -#include +#include "zlib/zlib.h" #include "pdb.h" /* * Stuff common to both Weasel Reader and makeztxt @@ -76,20 +76,20 @@ class ztxt : public CExpander, Cpdb void home(); 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); virtual int getch(); @@ -97,9 +97,9 @@ class ztxt : public CExpander, Cpdb virtual void locate(unsigned int n); virtual CList* getbkmklist(); virtual MarkupType PreferredMarkup() - { - return cTEXT; - } + { + return cTEXT; + } }; #endif -- cgit v0.9.0.2