Diffstat (limited to 'noncore/apps/opie-reader/CFilter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CFilter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/CFilter.h b/noncore/apps/opie-reader/CFilter.h index cec9618..174e6b4 100644 --- a/noncore/apps/opie-reader/CFilter.h +++ b/noncore/apps/opie-reader/CFilter.h | |||
@@ -378,33 +378,32 @@ class AddSpace : public CFilter | |||
378 | 378 | ||
379 | class QTReader; | 379 | class QTReader; |
380 | 380 | ||
381 | class HighlightFilter : public CFilter | 381 | class HighlightFilter : public CFilter |
382 | { | 382 | { |
383 | QTReader* pReader; | 383 | QTReader* pReader; |
384 | unsigned long lastpos, nextpos; | 384 | unsigned long lastpos, nextpos; |
385 | unsigned char red, green, blue; | 385 | unsigned char red, green, blue; |
386 | CList<Bkmk>* bkmks; | 386 | CList<Bkmk>* bkmks; |
387 | public: | 387 | public: |
388 | HighlightFilter(QTReader*); | 388 | HighlightFilter(QTReader*); |
389 | void getch(tchar& ch, CStyle& sty, unsigned long& pos); | 389 | void getch(tchar& ch, CStyle& sty, unsigned long& pos); |
390 | void refresh(unsigned long); | 390 | void refresh(unsigned long); |
391 | QString about() { return QString("High-lighting filter (c) Tim Wentford\n")+parent->about(); } | 391 | QString about() { return QString("High-lighting filter (c) Tim Wentford\n")+parent->about(); } |
392 | }; | 392 | }; |
393 | 393 | ||
394 | #include "static.h" | ||
395 | #ifndef __STATIC | 394 | #ifndef __STATIC |
396 | #include <dlfcn.h> | 395 | #include <dlfcn.h> |
397 | 396 | ||
398 | class ExternFilter : public CFilter_IFace | 397 | class ExternFilter : public CFilter_IFace |
399 | { | 398 | { |
400 | CFilter* filt; | 399 | CFilter* filt; |
401 | void *handle; | 400 | void *handle; |
402 | public: | 401 | public: |
403 | linkType hyperlink(unsigned int n, unsigned int noff, QString& w, QString& nm) | 402 | linkType hyperlink(unsigned int n, unsigned int noff, QString& w, QString& nm) |
404 | { | 403 | { |
405 | return filt->hyperlink(n, noff, w, nm); | 404 | return filt->hyperlink(n, noff, w, nm); |
406 | } | 405 | } |
407 | void setparent(CCharacterSource* p) { filt->setparent(p); } | 406 | void setparent(CCharacterSource* p) { filt->setparent(p); } |
408 | ExternFilter(const QString& nm, const QString& optional); | 407 | ExternFilter(const QString& nm, const QString& optional); |
409 | ~ExternFilter() | 408 | ~ExternFilter() |
410 | { | 409 | { |