Diffstat (limited to 'noncore/apps/opie-reader/CFilter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CFilter.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/CFilter.h b/noncore/apps/opie-reader/CFilter.h index 8cfd7eb..2d0c30f 100644 --- a/noncore/apps/opie-reader/CFilter.h +++ b/noncore/apps/opie-reader/CFilter.h | |||
@@ -245,25 +245,43 @@ class embolden : public CFilter | |||
245 | { | 245 | { |
246 | parent->getch(ch, sty); | 246 | parent->getch(ch, sty); |
247 | sty.setBold(); | 247 | sty.setBold(); |
248 | } | 248 | } |
249 | }; | 249 | }; |
250 | 250 | ||
251 | class remap : public CFilter | 251 | class remap : public CFilter |
252 | { | 252 | { |
253 | tchar q[3]; | 253 | tchar q[3]; |
254 | int offset; | 254 | int offset; |
255 | CStyle currentstyle; | 255 | CStyle currentstyle; |
256 | public: | 256 | public: |
257 | remap() : offset(0) { q[0] = 0; } | 257 | remap() : offset(0) { q[0] = 0; } |
258 | virtual ~remap() {} | 258 | virtual ~remap() {} |
259 | virtual void getch(tchar& ch, CStyle& sty); | 259 | virtual void getch(tchar& ch, CStyle& sty); |
260 | }; | 260 | }; |
261 | 261 | ||
262 | class PeanutFormatter : public CFilter | 262 | class PeanutFormatter : public CFilter |
263 | { | 263 | { |
264 | CStyle currentstyle; | 264 | CStyle currentstyle; |
265 | public: | 265 | public: |
266 | virtual ~PeanutFormatter() {} | 266 | virtual ~PeanutFormatter() {} |
267 | virtual void getch(tchar& ch, CStyle& sty); | 267 | virtual void getch(tchar& ch, CStyle& sty); |
268 | }; | 268 | }; |
269 | |||
270 | class OnePara : public CFilter | ||
271 | { | ||
272 | tchar m_lastchar; | ||
273 | public: | ||
274 | OnePara() : m_lastchar(0) {} | ||
275 | virtual ~OnePara() {} | ||
276 | virtual void getch(tchar& ch, CStyle& sty); | ||
277 | }; | ||
278 | |||
279 | #ifdef REPALM | ||
280 | class repalm : public CFilter | ||
281 | { | ||
282 | public: | ||
283 | virtual ~repalm() {} | ||
284 | virtual void getch(tchar& ch, CStyle& sty); | ||
285 | }; | ||
286 | #endif | ||
269 | #endif | 287 | #endif |