author | llornkcor <llornkcor> | 2002-09-14 02:19:09 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-14 02:19:09 (UTC) |
commit | 2d0c1ffcb39f9fac8193ed2e9e93794de0bd7975 (patch) (unidiff) | |
tree | eeed16b5f80dd5883991a7a06133f5f7a6936256 /noncore/apps/opie-reader/ppm_expander.h | |
parent | 5a95ed6a000a56849b8f093deea500214856c626 (diff) | |
download | opie-2d0c1ffcb39f9fac8193ed2e9e93794de0bd7975.zip opie-2d0c1ffcb39f9fac8193ed2e9e93794de0bd7975.tar.gz opie-2d0c1ffcb39f9fac8193ed2e9e93794de0bd7975.tar.bz2 |
update by Tim
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/ppm_expander.h b/noncore/apps/opie-reader/ppm_expander.h index ce95db7..115988d 100644 --- a/noncore/apps/opie-reader/ppm_expander.h +++ b/noncore/apps/opie-reader/ppm_expander.h | |||
@@ -32,15 +32,19 @@ class ppm_expander : public CExpander { | |||
32 | buf_in = new UCHAR[bufsize]; | 32 | buf_in = new UCHAR[bufsize]; |
33 | buf_out = new UCHAR[bufsize]; | 33 | buf_out = new UCHAR[bufsize]; |
34 | outbytes = 0; | 34 | outbytes = 0; |
35 | } | 35 | } |
36 | virtual int openfile(const char* infile); | 36 | virtual int openfile(const char* infile); |
37 | virtual int getch(); | 37 | virtual int getch(); |
38 | int locate(unsigned short block, unsigned int n); | 38 | int locate(unsigned short block, unsigned int n); |
39 | virtual ~ppm_expander(); | 39 | virtual ~ppm_expander(); |
40 | virtual unsigned int locate() { return outbytes; } | 40 | virtual unsigned int locate() { return outbytes; } |
41 | virtual void locate(unsigned int n); | 41 | virtual void locate(unsigned int n); |
42 | virtual bool hasrandomaccess() { return (numblocks > 1); } | 42 | virtual bool hasrandomaccess() { return (numblocks > 1); } |
43 | virtual void sizes(unsigned long& file, unsigned long& text); | 43 | virtual void sizes(unsigned long& file, unsigned long& text); |
44 | virtual MarkupType PreferredMarkup() | ||
45 | { | ||
46 | return cTEXT; | ||
47 | } | ||
44 | }; | 48 | }; |
45 | 49 | ||
46 | #endif | 50 | #endif |