author | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
commit | 118d03d815a7615b9c53363218a7ac45b3f4c514 (patch) (side-by-side diff) | |
tree | 356953e2413cddcec0f35bd47bb6439767da7051 /noncore/apps/opie-reader/ppm_expander.h | |
parent | 00894537decf01c5a5cdc565b2740b5e67a2e90f (diff) | |
download | opie-118d03d815a7615b9c53363218a7ac45b3f4c514.zip opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.gz opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.bz2 |
Incorporated TimWs current source tree and make it compile
Diffstat (limited to 'noncore/apps/opie-reader/ppm_expander.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ppm_expander.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/noncore/apps/opie-reader/ppm_expander.h b/noncore/apps/opie-reader/ppm_expander.h index 4278c82..002de86 100644 --- a/noncore/apps/opie-reader/ppm_expander.h +++ b/noncore/apps/opie-reader/ppm_expander.h @@ -2,3 +2,4 @@ #define __ppm_expander_h - +
+#include "useqpe.h" #include "CExpander.h" @@ -28,3 +29,4 @@ class ppm_expander : public CExpander { public: - virtual void suspend() +#ifdef USEQPE
+ void suspend() { @@ -32,6 +34,7 @@ public: } - virtual void unsuspend() + void unsuspend() { CExpander::unsuspend(my_file_in); - } + }
+#endif ppm_expander() : needppmend(false), my_file_in(NULL), my_read_buf(NULL) @@ -43,11 +46,11 @@ public: } - virtual int OpenFile(const char* infile); - virtual int getch(); + int OpenFile(const char* infile); + int getch(); int locate(unsigned short block, unsigned int n); virtual ~ppm_expander(); - virtual unsigned int locate() { return outbytes; } - virtual void locate(unsigned int n); - virtual bool hasrandomaccess() { return (numblocks > 1); } - virtual void sizes(unsigned long& file, unsigned long& text); - virtual MarkupType PreferredMarkup() + unsigned int locate() { return outbytes; } + void locate(unsigned int n); + bool hasrandomaccess() { return (numblocks > 1); } + void sizes(unsigned long& file, unsigned long& text); + MarkupType PreferredMarkup() { |