author | llornkcor <llornkcor> | 2004-07-10 02:46:51 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-07-10 02:46:51 (UTC) |
commit | aa85f7f987521c9f01acf3d8b737c5a60175de46 (patch) (unidiff) | |
tree | 1d2fe1f44d31f599947ed657d867b696790fe523 | |
parent | 9a51654b784192af0b02536e308f62bf5a5ae57c (diff) | |
download | opie-aa85f7f987521c9f01acf3d8b737c5a60175de46.zip opie-aa85f7f987521c9f01acf3d8b737c5a60175de46.tar.gz opie-aa85f7f987521c9f01acf3d8b737c5a60175de46.tar.bz2 |
NO_OPIE define added
-rw-r--r-- | noncore/apps/zsafe/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/main.cpp b/noncore/apps/zsafe/main.cpp index 5f48f77..c187520 100644 --- a/noncore/apps/zsafe/main.cpp +++ b/noncore/apps/zsafe/main.cpp | |||
@@ -1,38 +1,40 @@ | |||
1 | /* | 1 | /* |
2 | ** Author: Carsten Schneider <CarstenSchneider@t-online.de> | 2 | ** Author: Carsten Schneider <CarstenSchneider@t-online.de> |
3 | ** | 3 | ** |
4 | ** $Id$ | 4 | ** $Id$ |
5 | ** | 5 | ** |
6 | ** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html | 6 | ** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html |
7 | */ | 7 | */ |
8 | 8 | ||
9 | 9 | ||
10 | #include "zsafe.h" | 10 | #include "zsafe.h" |
11 | 11 | ||
12 | #ifndef NO_OPIE | ||
12 | /* OPIE */ | 13 | /* OPIE */ |
13 | #include <opie2/odebug.h> | 14 | #include <opie2/odebug.h> |
14 | using namespace Opie::Core; | 15 | using namespace Opie::Core; |
16 | #endif | ||
15 | 17 | ||
16 | /* QT */ | 18 | /* QT */ |
17 | #ifdef DESKTOP | 19 | #ifdef DESKTOP |
18 | #include <qapplication.h> | 20 | #include <qapplication.h> |
19 | #else | 21 | #else |
20 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
21 | #endif | 23 | #endif |
22 | 24 | ||
23 | /* STD */ | 25 | /* STD */ |
24 | #include <stdio.h> | 26 | #include <stdio.h> |
25 | #include <signal.h> | 27 | #include <signal.h> |
26 | 28 | ||
27 | ZSafe *zs; | 29 | ZSafe *zs; |
28 | #ifdef DESKTOP | 30 | #ifdef DESKTOP |
29 | QApplication *appl; | 31 | QApplication *appl; |
30 | #else | 32 | #else |
31 | QPEApplication *appl; | 33 | QPEApplication *appl; |
32 | #endif | 34 | #endif |
33 | 35 | ||
34 | int DeskW; | 36 | int DeskW; |
35 | int DeskH; | 37 | int DeskH; |
36 | 38 | ||
37 | void suspend (int signum) | 39 | void suspend (int signum) |
38 | { | 40 | { |