author | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
---|---|---|
committer | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
commit | 73253e93327cf4ef0932de1b4afb56af22a0f37e (patch) (unidiff) | |
tree | 1c9a7a6dd3341e036a894d348a3372525d29acec /noncore/apps/opie-reader/plucker.h | |
parent | e90847c784c48bd21bf8768cb38edb853b832697 (diff) | |
download | opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.zip opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.gz opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.bz2 |
updated source to opie-reader 0.7g
Diffstat (limited to 'noncore/apps/opie-reader/plucker.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/plucker.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/plucker.h b/noncore/apps/opie-reader/plucker.h index 6d62195..53189a6 100644 --- a/noncore/apps/opie-reader/plucker.h +++ b/noncore/apps/opie-reader/plucker.h | |||
@@ -10,11 +10,13 @@ class QWidget; | |||
10 | 10 | ||
11 | class CPlucker : public CPlucker_base | 11 | class CPlucker : public CPlucker_base |
12 | { | 12 | { |
13 | void start2endSection() | 13 | bool isEndOfSection(int thisrec) |
14 | { | 14 | { |
15 | m_currentstart = currentpos-bufferpos; | 15 | return !m_bufferisreserved; |
16 | m_currentend = m_currentstart+buffercontent; | ||
17 | } | 16 | } |
17 | unsigned long NEFstartSection(); | ||
18 | unsigned long NEFendSection(); | ||
19 | void start2endSection(); | ||
18 | void setbuffersize() | 20 | void setbuffersize() |
19 | { | 21 | { |
20 | compressedbuffersize = buffersize = 32*1024; | 22 | compressedbuffersize = buffersize = 32*1024; |
@@ -32,5 +34,6 @@ class CPlucker : public CPlucker_base | |||
32 | QImage* imagefromdata(UInt8*, UInt32); // virtual | 34 | QImage* imagefromdata(UInt8*, UInt32); // virtual |
33 | public: | 35 | public: |
34 | CPlucker(); | 36 | CPlucker(); |
37 | QString about() { return CPlucker_base::about()+QString("\nPlucker codec (c) Tim Wentford - Image reading code based on unpluck by Bill Janssen"); } | ||
35 | }; | 38 | }; |
36 | #endif | 39 | #endif |