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/Aportis.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/Aportis.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/Aportis.h | 21 |
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 | ||
63 | class Aportis : public CExpander, Cpdb { | 62 | class 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 { | |||
77 | public: | 77 | public: |
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"); } | ||
105 | private: | 98 | private: |