summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/ztxt.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/ztxt.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/ztxt.h26
1 files changed, 8 insertions, 18 deletions
diff --git a/noncore/apps/opie-reader/ztxt.h b/noncore/apps/opie-reader/ztxt.h
index 709a055..f544b01 100644
--- a/noncore/apps/opie-reader/ztxt.h
+++ b/noncore/apps/opie-reader/ztxt.h
@@ -3,3 +3,2 @@
3 3
4#include "useqpe.h"
5#include "CExpander.h" 4#include "CExpander.h"
@@ -7,6 +6,6 @@
7#include "pdb.h" 6#include "pdb.h"
8#ifdef _WINDOWS 7#ifdef _WINDOWS
9#include <winsock.h> 8#include <winsock.h>
10#endif 9#endif
11 10
12/* 11/*
@@ -24,3 +23,3 @@
24#if defined(__GNUC__) && defined(__UNIX__) 23#if defined(__GNUC__) && defined(__UNIX__)
25# pragma pack(2) 24//# pragma pack(2)
26#endif 25#endif
@@ -60,3 +59,3 @@ struct zTXTbkmk
60 UInt32 offset; 59 UInt32 offset;
61 tchar title[MAX_BMRK_LENGTH]; 60 unsigned char title[MAX_BMRK_LENGTH];
62}; 61};
@@ -68,3 +67,3 @@ const UInt32 ZTXT_ID = 0x5458547a;
68 67
69class ztxt : public CExpander, Cpdb 68class ztxt : public Cpdb
70{ 69{
@@ -82,12 +81,3 @@ class ztxt : public CExpander, Cpdb
82public: 81public:
83#ifdef USEQPE 82 QString about() { return QString("Weasel codec (c) Tim Wentford"); }
84 void suspend()
85 {
86 CExpander::suspend(fin);
87 }
88 void unsuspend()
89 {
90 CExpander::unsuspend(fin);
91 }
92#endif
93 void sizes(unsigned long& _file, unsigned long& _text) 83 void sizes(unsigned long& _file, unsigned long& _text)