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 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/apps/opie-reader/ppm_expander.h b/noncore/apps/opie-reader/ppm_expander.h index 002de86..a1a3b60 100644 --- a/noncore/apps/opie-reader/ppm_expander.h +++ b/noncore/apps/opie-reader/ppm_expander.h @@ -1,6 +1,6 @@ #ifndef __ppm_expander_h #define __ppm_expander_h -
+ #include "useqpe.h" #include "CExpander.h" #include <sys/stat.h> @@ -27,7 +27,8 @@ class ppm_expander : public CExpander { PPM_ReadBuf* my_read_buf; ppm_worker ppm; public: -#ifdef USEQPE
+ QString about() { return QString("ppms Codec (c) Tim Wentford\nCompression code (c) Fabrice Bellard"); } +#ifdef USEQPE void suspend() { CExpander::suspend(my_file_in); @@ -35,7 +36,7 @@ public: void unsuspend() { CExpander::unsuspend(my_file_in); - }
+ } #endif ppm_expander() : needppmend(false), my_file_in(NULL), my_read_buf(NULL) { @@ -46,7 +47,7 @@ public: } int OpenFile(const char* infile); int getch(); - int locate(unsigned short block, unsigned int n); + void locate(unsigned short block, unsigned int n); virtual ~ppm_expander(); unsigned int locate() { return outbytes; } void locate(unsigned int n); |