summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/CExpander.h
authorpohly <pohly>2005-05-05 14:39:33 (UTC)
committer pohly <pohly>2005-05-05 14:39:33 (UTC)
commit39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91 (patch) (side-by-side diff)
tree96e66fdc18dca4d4ab8611133e072f57dea224b9 /noncore/apps/opie-reader/CExpander.h
parent279fc4fd1986074acbadd3a8e86fcf3968a8dd5c (diff)
downloadopie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.zip
opie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.tar.gz
opie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.tar.bz2
new opie-reader sources with support for ArriereGo, Reb input and flite output plugins
Diffstat (limited to 'noncore/apps/opie-reader/CExpander.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/CExpander.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/CExpander.h b/noncore/apps/opie-reader/CExpander.h
index 7fa84f9..24c317d 100644
--- a/noncore/apps/opie-reader/CExpander.h
+++ b/noncore/apps/opie-reader/CExpander.h
@@ -24,6 +24,7 @@ class CList;
class CCharacterSource
{
public:
+ virtual QString getTableAsHtml(unsigned long loc) = 0;
virtual void getch(tchar&, CStyle&, unsigned long&) = 0;
virtual linkType hyperlink(unsigned int n, unsigned int noff, QString&, QString& nm) = 0;
virtual void locate(unsigned int n) = 0;
@@ -36,8 +37,9 @@ class CCharacterSource
virtual int getwidth() = 0;
virtual QImage* getPicture(unsigned long) = 0;
virtual QImage* getPicture(const QString& href) = 0;
- virtual bool getFile(const QString& href) = 0;
+ virtual bool getFile(const QString& href, const QString& nm) = 0;
virtual QString about() = 0;
+ virtual unsigned long startSection() = 0;
};
class CExpander_Interface
@@ -83,7 +85,9 @@ class CExpander_Interface
// int getpara(CBuffer& buff);
virtual int getwidth() = 0;
virtual QImage* getPicture(const QString& href) = 0;
- virtual bool getFile(const QString& href) = 0;
+ virtual bool getFile(const QString& href, const QString& nm) = 0;
+ virtual bool findanchor(const QString& nm) = 0;
+ virtual QString getTableAsHtml(unsigned long loc) { return QString(""); }
};
class CExpander : public CExpander_Interface
@@ -143,6 +147,10 @@ class CExpander : public CExpander_Interface
// bool findstring(const QString& info);
// int getpara(CBuffer& buff);
virtual QImage* getPicture(const QString& href) { return NULL; }
- virtual bool getFile(const QString& href) { return false; }
+ virtual bool getFile(const QString& href, const QString& nm) { return false; }
+ virtual bool findanchor(const QString& nm)
+ {
+ return false;
+ }
};
#endif