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 | |||
@@ -31,44 +31,44 @@ public: | |||
31 | 31 | ||
32 | class CUcs16le : public CEncoding | 32 | class CUcs16le : public CEncoding |
33 | { | 33 | { |
34 | public: | 34 | public: |
35 | void getch(tchar& ch, CStyle& sty); | 35 | void getch(tchar& ch, CStyle& sty); |
36 | }; | 36 | }; |
37 | 37 | ||
38 | class Ccp1252 : public CEncoding | 38 | class Ccp1252 : public CEncoding |
39 | { | 39 | { |
40 | public: | 40 | public: |
41 | void getch(tchar& ch, CStyle& sty); | 41 | void getch(tchar& ch, CStyle& sty); |
42 | }; | 42 | }; |
43 | 43 | ||
44 | class CPalm : public Ccp1252 | 44 | class CPalm : public Ccp1252 |
45 | { | 45 | { |
46 | public: | 46 | public: |
47 | void getch(tchar& ch, CStyle& sty); | 47 | void getch(tchar& ch, CStyle& sty); |
48 | }; | 48 | }; |
49 | 49 | ||
50 | class CAscii : public CEncoding | 50 | class CAscii : public CEncoding |
51 | { | 51 | { |
52 | public: | 52 | public: |
53 | void getch(tchar& ch, CStyle& sty); | 53 | void getch(tchar& ch, CStyle& sty); |
54 | }; | 54 | }; |
55 | 55 | ||
56 | #include "CEncoding_tables.h" | 56 | #include "CEncoding_tables.h" |
57 | 57 | ||
58 | class CGeneral8Bit : public CEncoding | 58 | class CGeneral8Bit : public CEncoding |
59 | { | 59 | { |
60 | int m_index; | 60 | int m_index; |
61 | public: | 61 | public: |
62 | CGeneral8Bit(int _i) : m_index(_i) | 62 | CGeneral8Bit(int _i) : m_index(_i) |
63 | { | 63 | { |
64 | // qDebug("8Bit:%d", _i); | 64 | // odebug << "8Bit: " << _i << oendl; |
65 | // qDebug("%s", unicodetable::iterator(_i)->mime); | 65 | // odebug << unicodetable::iterator(_i)->mime << oendl; |
66 | } | 66 | } |
67 | void getch(tchar& ch, CStyle& sty) | 67 | void getch(tchar& ch, CStyle& sty) |
68 | { | 68 | { |
69 | parent->getch(ch, sty); | 69 | parent->getch(ch, sty); |
70 | ch = unicodetable::unicodevalue(m_index, ch); | 70 | ch = unicodetable::unicodevalue(m_index, ch); |
71 | } | 71 | } |
72 | }; | 72 | }; |
73 | 73 | ||
74 | #endif | 74 | #endif |