Diffstat (limited to 'noncore/apps/opie-reader/CEncoding.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CEncoding.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/apps/opie-reader/CEncoding.h b/noncore/apps/opie-reader/CEncoding.h index 463fba9..df0104a 100644 --- a/noncore/apps/opie-reader/CEncoding.h +++ b/noncore/apps/opie-reader/CEncoding.h @@ -1,74 +1,74 @@ #ifndef __CENCODING_H #define __CENCODING_H #include "CExpander.h" #define MAX_ENCODING 6 class CEncoding : public CCharacterSource { friend class CFilterChain; protected: CExpander* parent; linkType hyperlink(unsigned int n, QString& t) { return parent->hyperlink(n,t); } public: CEncoding() : parent(NULL) {} void setparent(CExpander* p) { parent = p; } virtual ~CEncoding() {}; }; class CUtf8 : public CEncoding { public: void getch(tchar& ch, CStyle& sty); }; class CUcs16be : public CEncoding { public: void getch(tchar& ch, CStyle& sty); }; class CUcs16le : public CEncoding { public: void getch(tchar& ch, CStyle& sty); }; class Ccp1252 : public CEncoding { public: void getch(tchar& ch, CStyle& sty); }; class CPalm : public Ccp1252 { public: void getch(tchar& ch, CStyle& sty); }; class CAscii : public CEncoding { public: void getch(tchar& ch, CStyle& sty); }; #include "CEncoding_tables.h" class CGeneral8Bit : public CEncoding { int m_index; public: CGeneral8Bit(int _i) : m_index(_i) - { -// qDebug("8Bit:%d", _i); -// qDebug("%s", unicodetable::iterator(_i)->mime); - } + { +// odebug << "8Bit: " << _i << oendl; +// odebug << unicodetable::iterator(_i)->mime << oendl; + } void getch(tchar& ch, CStyle& sty) - { - parent->getch(ch, sty); - ch = unicodetable::unicodevalue(m_index, ch); - } + { + parent->getch(ch, sty); + ch = unicodetable::unicodevalue(m_index, ch); + } }; #endif |