Diffstat (limited to 'noncore/apps/opie-reader/ppm_expander.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ppm_expander.h | 3 |
1 files changed, 2 insertions, 1 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 | |||
@@ -24,12 +24,13 @@ class ppm_expander : public CExpander { | |||
24 | bool needppmend; | 24 | bool needppmend; |
25 | int home(); | 25 | int home(); |
26 | FILE* my_file_in; | 26 | FILE* my_file_in; |
27 | PPM_ReadBuf* my_read_buf; | 27 | PPM_ReadBuf* my_read_buf; |
28 | ppm_worker ppm; | 28 | ppm_worker ppm; |
29 | public: | 29 | public: |
30 | QString about() { return QString("ppms Codec (c) Tim Wentford\nCompression code (c) Fabrice Bellard"); } | ||
30 | #ifdef USEQPE | 31 | #ifdef USEQPE |
31 | void suspend() | 32 | void suspend() |
32 | { | 33 | { |
33 | CExpander::suspend(my_file_in); | 34 | CExpander::suspend(my_file_in); |
34 | } | 35 | } |
35 | void unsuspend() | 36 | void unsuspend() |
@@ -43,13 +44,13 @@ public: | |||
43 | buf_in = new UCHAR[bufsize]; | 44 | buf_in = new UCHAR[bufsize]; |
44 | buf_out = new UCHAR[bufsize]; | 45 | buf_out = new UCHAR[bufsize]; |
45 | outbytes = 0; | 46 | outbytes = 0; |
46 | } | 47 | } |
47 | int OpenFile(const char* infile); | 48 | int OpenFile(const char* infile); |
48 | int getch(); | 49 | int getch(); |
49 | int locate(unsigned short block, unsigned int n); | 50 | void locate(unsigned short block, unsigned int n); |
50 | virtual ~ppm_expander(); | 51 | virtual ~ppm_expander(); |
51 | unsigned int locate() { return outbytes; } | 52 | unsigned int locate() { return outbytes; } |
52 | void locate(unsigned int n); | 53 | void locate(unsigned int n); |
53 | bool hasrandomaccess() { return (numblocks > 1); } | 54 | bool hasrandomaccess() { return (numblocks > 1); } |
54 | void sizes(unsigned long& file, unsigned long& text); | 55 | void sizes(unsigned long& file, unsigned long& text); |
55 | MarkupType PreferredMarkup() | 56 | MarkupType PreferredMarkup() |