Diffstat (limited to 'noncore/apps/opie-reader/ztxt.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ztxt.h | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/noncore/apps/opie-reader/ztxt.h b/noncore/apps/opie-reader/ztxt.h index d7cb96a..709a055 100644 --- a/noncore/apps/opie-reader/ztxt.h +++ b/noncore/apps/opie-reader/ztxt.h @@ -3,5 +3,10 @@ +#include "useqpe.h"
#include "CExpander.h" -#include "zlib/zlib.h" +#include <zlib.h> #include "pdb.h" +#ifdef _WINDOWS
+#include <winsock.h>
+#endif
+
/* @@ -77,3 +82,4 @@ class ztxt : public CExpander, Cpdb public: - virtual void suspend() +#ifdef USEQPE
+ void suspend() { @@ -81,3 +87,3 @@ public: } - virtual void unsuspend() + void unsuspend() { @@ -85,3 +91,4 @@ public: } - virtual void sizes(unsigned long& _file, unsigned long& _text) +#endif + void sizes(unsigned long& _file, unsigned long& _text) { @@ -90,3 +97,3 @@ public: } - virtual bool hasrandomaccess() { return (hdr0.randomAccess != 0); } + bool hasrandomaccess() { return (hdr0.randomAccess != 0); } virtual ~ztxt() @@ -101,8 +108,8 @@ public: 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() + int OpenFile(const char *src); + int getch(); + unsigned int locate(); + void locate(unsigned int n); + CList<Bkmk>* getbkmklist(); + MarkupType PreferredMarkup() { |