summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/Aportis.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/Aportis.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/Aportis.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/noncore/apps/opie-reader/Aportis.h b/noncore/apps/opie-reader/Aportis.h
index 202a36f..5e9d1da 100644
--- a/noncore/apps/opie-reader/Aportis.h
+++ b/noncore/apps/opie-reader/Aportis.h
@@ -6,3 +6,2 @@
6#define __Aportis_h 6#define __Aportis_h
7#include "useqpe.h"
8#include "CExpander.h" 7#include "CExpander.h"
@@ -62,4 +61,4 @@ inline DWORD SwapLong(DWORD r)
62 61
63class Aportis : public CExpander, Cpdb { 62class Aportis : public Cpdb {
64 bool peanutfile; 63 bool peanutfile, html;
65 void dePeanut(int&); 64 void dePeanut(int&);
@@ -71,2 +70,3 @@ class Aportis : public CExpander, Cpdb {
71 DWORD dwRecLen; 70 DWORD dwRecLen;
71 WORD mobiimagerec;
72 int currentrec, currentpos; 72 int currentrec, currentpos;
@@ -77,14 +77,5 @@ class Aportis : public CExpander, Cpdb {
77public: 77public:
78#ifdef USEQPE
79 void suspend()
80 {
81 CExpander::suspend(fin);
82 }
83 void unsuspend()
84 {
85 CExpander::unsuspend(fin);
86 }
87#endif
88 void sizes(unsigned long& _file, unsigned long& _text) 78 void sizes(unsigned long& _file, unsigned long& _text)
89 { 79 {
80 qDebug("Calling aportis sizes:(%u,%u,%u)", dwTLen, nRecs, BlockSize);
90 _file = dwLen; 81 _file = dwLen;
@@ -102,4 +93,6 @@ public:
102 { 93 {
103 return (peanutfile) ? cPML : cTEXT; 94 return (peanutfile) ? cPML : ((html) ? cHTML : cTEXT);
104 } 95 }
96 QImage* getPicture(unsigned long);
97 QString about() { return QString("AportisDoc codec (c) Tim Wentford"); }
105private: 98private: