summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/CHM.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/CHM.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/CHM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/CHM.h b/noncore/apps/opie-reader/CHM.h
index 001f7fc..291818d 100644
--- a/noncore/apps/opie-reader/CHM.h
+++ b/noncore/apps/opie-reader/CHM.h
@@ -35,33 +35,33 @@ class CHM : public CExpander
35 unsigned int bufpos; 35 unsigned int bufpos;
36 unsigned long fsize; 36 unsigned long fsize;
37 unsigned long m_homestart, m_homeend; 37 unsigned long m_homestart, m_homeend;
38public: 38public:
39 void suspend(); 39 void suspend();
40 void unsuspend(); 40 void unsuspend();
41 bool hasnavigation() { return true; } 41 bool hasnavigation() { return true; }
42 42
43 CHM(); 43 CHM();
44 virtual ~CHM(); 44 virtual ~CHM();
45 int OpenFile(const char *src); 45 int OpenFile(const char *src);
46 int getch(); 46 int getch();
47 unsigned int locate(); 47 unsigned int locate();
48 void locate(unsigned int n); 48 void locate(unsigned int n);
49 bool hasrandomaccess() { return true; } 49 bool hasrandomaccess() { return true; }
50 void sizes(unsigned long& _file, unsigned long& _text); 50 void sizes(unsigned long& _file, unsigned long& _text);
51 void addContent(QString content); 51 void addContent(QString content);
52 void getch(tchar& ch, CStyle& sty); 52 void getch(tchar& ch, CStyle& sty);
53 void setPath(QString PathName) {chmPath = PathName;}; 53 void setPath(QString PathName) {chmPath = PathName;};
54 void setHomePath(QString PathName) {chmHHCPath = PathName;}; 54 void setHomePath(QString PathName) {chmHHCPath = PathName;};
55 55
56 MarkupType PreferredMarkup() { 56 MarkupType PreferredMarkup() {
57 return cCHM; 57 return cCHM;
58 } 58 }
59 bool getFile(const QString& href); 59 bool getFile(const QString& href, const QString& nm);
60 QImage *getPicture(const QString& href); 60 QImage *getPicture(const QString& href);
61 QString about() { return QString("CHM codec (c) Bob Griffin\nchm_lib (c) Jed Wing\nLZX code (c) Stuart Cale"); } 61 QString about() { return QString("CHM codec (c) Bob Griffin\nchm_lib (c) Jed Wing\nLZX code (c) Stuart Cale"); }
62private : 62private :
63 bool FillBuffer(); 63 bool FillBuffer();
64 bool FillContent(); 64 bool FillContent();
65 void FillHomeContent(); 65 void FillHomeContent();
66}; 66};
67#endif 67#endif