author | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
---|---|---|
committer | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
commit | 73253e93327cf4ef0932de1b4afb56af22a0f37e (patch) (side-by-side diff) | |
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 @@ -1,36 +1,39 @@ #ifndef __plucker_h #define __plucker_h #include "plucker_base.h" #ifdef LOCALPICTURES class QScrollView; class QWidget; #endif class CPlucker : public CPlucker_base { - void start2endSection() + bool isEndOfSection(int thisrec) { - m_currentstart = currentpos-bufferpos; - m_currentend = m_currentstart+buffercontent; + return !m_bufferisreserved; } + unsigned long NEFstartSection(); + unsigned long NEFendSection(); + void start2endSection(); void setbuffersize() { compressedbuffersize = buffersize = 32*1024; } int HeaderSize(); void GetHeader(UInt16& uid, UInt16& nParagraphs, UInt32& size, UInt8& type, UInt8& reserved); int bgetch(); tchar getch(bool fast); UInt8 EOPPhase; bool CorrectDecoder(); // Virtual void setlink(QString&, const QString&); // Virtual QImage* imagefromdata(UInt8*, UInt32); // virtual public: CPlucker(); + QString about() { return CPlucker_base::about()+QString("\nPlucker codec (c) Tim Wentford - Image reading code based on unpluck by Bill Janssen"); } }; #endif |