-rw-r--r-- | noncore/apps/opie-reader/ZText.h | 4 | ||||
-rw-r--r-- | noncore/apps/opie-reader/plucker.h | 24 | ||||
-rw-r--r-- | noncore/apps/opie-reader/ztxt.h | 32 |
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 @@ -1,8 +1,8 @@ #ifndef __Text_h #define __Text_h #include <stdio.h> -#include <zlib.h> +#include "zlib/zlib.h" #include <sys/stat.h> #include "CExpander.h" @@ -32,8 +32,8 @@ public: _text = _file = fsize; } 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 @@ -1,9 +1,9 @@ #ifndef __plucker_h #define __plucker_h #include "CExpander.h" -#include <zlib.h> +#include "zlib/zlib.h" #include "ztxt.h" #include "pdb.h" #include "CBuffer.h" @@ -57,19 +57,19 @@ class CPlucker : public CExpander, Cpdb void home(); 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(); virtual void getch(int&, CStyle&); @@ -77,10 +77,10 @@ class CPlucker : public CExpander, Cpdb virtual void locate(unsigned int n); virtual CList<Bkmk>* 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 @@ -1,9 +1,9 @@ #ifndef __ztxt_h #define __ztxt_h #include "CExpander.h" -#include <zlib.h> +#include "zlib/zlib.h" #include "pdb.h" /* * Stuff common to both Weasel Reader and makeztxt * @@ -75,31 +75,31 @@ class ztxt : public CExpander, Cpdb size_t currentpos; 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(); virtual unsigned int locate(); virtual void locate(unsigned int n); virtual CList<Bkmk>* getbkmklist(); virtual MarkupType PreferredMarkup() - { - return cTEXT; - } + { + return cTEXT; + } }; #endif |