Diffstat (limited to 'noncore/apps/opie-reader/plucker_base.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/plucker_base.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/plucker_base.cpp b/noncore/apps/opie-reader/plucker_base.cpp index 0b7fae8..d7d538f 100644 --- a/noncore/apps/opie-reader/plucker_base.cpp +++ b/noncore/apps/opie-reader/plucker_base.cpp | |||
@@ -1,36 +1,34 @@ | |||
1 | #include "useqpe.h" | ||
2 | #include "usenef.h" | 1 | #include "usenef.h" |
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | #include <string.h> | 3 | #include <string.h> |
5 | #include <qmessagebox.h> | 4 | #include <qmessagebox.h> |
6 | #include <qpixmap.h> | 5 | #include <qpixmap.h> |
7 | #ifdef USEQPE | 6 | #ifdef USEQPE |
8 | #include <qpe/qcopenvelope_qws.h> | 7 | #include <qpe/qcopenvelope_qws.h> |
9 | #endif /* USEQPE */ | 8 | #endif /* USEQPE */ |
10 | #ifdef LOCALPICTURES | 9 | #ifdef LOCALPICTURES |
11 | #include <qscrollview.h> | 10 | #include <qscrollview.h> |
12 | #endif | 11 | #endif |
13 | #ifdef USEQPE | 12 | #ifdef USEQPE |
14 | #include <qpe/global.h> | 13 | #include <qpe/global.h> |
15 | #endif /* USEQPE */ | 14 | #endif /* USEQPE */ |
16 | #include <qclipboard.h> | 15 | #include <qclipboard.h> |
17 | #ifndef USEQPE | 16 | #ifndef USEQPE |
18 | #include <qapplication.h> | 17 | #include <qapplication.h> |
19 | #else /* USEQPE */ | 18 | #else /* USEQPE */ |
20 | #include <qpe/qpeapplication.h> | 19 | #include <qpe/qpeapplication.h> |
21 | #endif /* USEQPE */ | 20 | #endif /* USEQPE */ |
22 | #include <qimage.h> | 21 | #include <qimage.h> |
23 | 22 | ||
24 | #include "static.h" | ||
25 | #include "plucker_base.h" | 23 | #include "plucker_base.h" |
26 | #include "Aportis.h" | 24 | #include "Aportis.h" |
27 | #include "hrule.h" | 25 | #include "hrule.h" |
28 | #include "util.h" | 26 | #include "util.h" |
29 | 27 | ||
30 | const UInt8 CPlucker_base::continuation_bit = 1; | 28 | const UInt8 CPlucker_base::continuation_bit = 1; |
31 | 29 | ||
32 | CPlucker_base::CPlucker_base() : | 30 | CPlucker_base::CPlucker_base() : |
33 | #ifdef LOCALPICTURES | 31 | #ifdef LOCALPICTURES |
34 | m_viewer(NULL), | 32 | m_viewer(NULL), |
35 | m_picture(NULL), | 33 | m_picture(NULL), |
36 | #endif | 34 | #endif |
@@ -1350,25 +1348,24 @@ tchar CPlucker_base::getch_base(bool fast) | |||
1350 | { | 1348 | { |
1351 | while (ch == ' ') | 1349 | while (ch == ' ') |
1352 | { | 1350 | { |
1353 | ch = getch(false); | 1351 | ch = getch(false); |
1354 | } | 1352 | } |
1355 | } | 1353 | } |
1356 | 1354 | ||
1357 | m_lastIsBreak = (ch == 10); | 1355 | m_lastIsBreak = (ch == 10); |
1358 | 1356 | ||
1359 | return (ch == EOF) ? UEOF : ch; | 1357 | return (ch == EOF) ? UEOF : ch; |
1360 | } | 1358 | } |
1361 | 1359 | ||
1362 | #include "static.h" | ||
1363 | #if defined(__STATIC) && defined(USENEF) | 1360 | #if defined(__STATIC) && defined(USENEF) |
1364 | #include "Model.h" | 1361 | #include "Model.h" |
1365 | void (*CPlucker_base::getdecompressor(const QString& _s))(UInt8*, size_t, UInt8*, size_t) | 1362 | void (*CPlucker_base::getdecompressor(const QString& _s))(UInt8*, size_t, UInt8*, size_t) |
1366 | { | 1363 | { |
1367 | if (_s == "PluckerDecompress3") | 1364 | if (_s == "PluckerDecompress3") |
1368 | { | 1365 | { |
1369 | return PluckerDecompress3; | 1366 | return PluckerDecompress3; |
1370 | } | 1367 | } |
1371 | if (_s == "PluckerDecompress4") | 1368 | if (_s == "PluckerDecompress4") |
1372 | { | 1369 | { |
1373 | return PluckerDecompress4; | 1370 | return PluckerDecompress4; |
1374 | } | 1371 | } |