author | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
---|---|---|
committer | pohly <pohly> | 2004-08-24 20:52:45 (UTC) |
commit | 73253e93327cf4ef0932de1b4afb56af22a0f37e (patch) (side-by-side diff) | |
tree | 1c9a7a6dd3341e036a894d348a3372525d29acec /noncore/apps/opie-reader/CEncoding.cpp | |
parent | e90847c784c48bd21bf8768cb38edb853b832697 (diff) | |
download | opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.zip opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.gz opie-73253e93327cf4ef0932de1b4afb56af22a0f37e.tar.bz2 |
updated source to opie-reader 0.7g
Diffstat (limited to 'noncore/apps/opie-reader/CEncoding.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CEncoding.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/apps/opie-reader/CEncoding.cpp b/noncore/apps/opie-reader/CEncoding.cpp index 60a1057..cf2e01b 100644 --- a/noncore/apps/opie-reader/CEncoding.cpp +++ b/noncore/apps/opie-reader/CEncoding.cpp @@ -3,6 +3,6 @@ -void CUtf8::getch(tchar& ch, CStyle& sty) +void CUtf8::getch(tchar& ch, CStyle& sty, unsigned long& pos) { tchar ret; - parent->getch(ret, sty); + parent->getch(ret, sty, pos); if (ret == UEOF) @@ -20,3 +20,3 @@ void CUtf8::getch(tchar& ch, CStyle& sty) tchar iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); ret += iret & 0x3f; @@ -45,6 +45,6 @@ void CUtf8::getch(tchar& ch, CStyle& sty) -void CUcs16be::getch(tchar& ch, CStyle& sty) +void CUcs16be::getch(tchar& ch, CStyle& sty, unsigned long& pos) { tchar iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); if (iret == UEOF) @@ -55,3 +55,3 @@ void CUcs16be::getch(tchar& ch, CStyle& sty) tchar ret = iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); ch = (ret << 8) + iret; @@ -59,6 +59,6 @@ void CUcs16be::getch(tchar& ch, CStyle& sty) -void CUcs16le::getch(tchar& ch, CStyle& sty) +void CUcs16le::getch(tchar& ch, CStyle& sty, unsigned long& pos) { tchar iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); if (iret == UEOF) @@ -69,3 +69,3 @@ void CUcs16le::getch(tchar& ch, CStyle& sty) tchar ret = iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); ch = ret + (iret << 8); @@ -73,6 +73,6 @@ void CUcs16le::getch(tchar& ch, CStyle& sty) -void Ccp1252::getch(tchar& ch, CStyle& sty) +void Ccp1252::getch(tchar& ch, CStyle& sty, unsigned long& pos) { tchar iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); ch = iret; @@ -169,5 +169,5 @@ void Ccp1252::getch(tchar& ch, CStyle& sty) -void CPalm::getch(tchar& ch, CStyle& sty) +void CPalm::getch(tchar& ch, CStyle& sty, unsigned long& pos) { - Ccp1252::getch(ch, sty); + Ccp1252::getch(ch, sty, pos); switch (ch) @@ -197,6 +197,6 @@ void CPalm::getch(tchar& ch, CStyle& sty) -void CAscii::getch(tchar& ch, CStyle& sty) +void CAscii::getch(tchar& ch, CStyle& sty, unsigned long& pos) { tchar iret; - parent->getch(iret, sty); + parent->getch(iret, sty, pos); if (iret == UEOF) |