summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/plucker.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/plucker.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/plucker.h13
1 files changed, 8 insertions, 5 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;
class CPlucker : public CPlucker_base
{
- void start2endSection()
- {
- m_currentstart = currentpos-bufferpos;
- m_currentend = m_currentstart+buffercontent;
- }
+ bool isEndOfSection(int thisrec)
+ {
+ return !m_bufferisreserved;
+ }
+ unsigned long NEFstartSection();
+ unsigned long NEFendSection();
+ void start2endSection();
void setbuffersize()
{
compressedbuffersize = buffersize = 32*1024;
@@ -32,5 +34,6 @@ class CPlucker : public CPlucker_base
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