author | llornkcor <llornkcor> | 2004-07-10 02:46:51 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-07-10 02:46:51 (UTC) |
commit | aa85f7f987521c9f01acf3d8b737c5a60175de46 (patch) (side-by-side diff) | |
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,46 +1,48 @@ /* ** Author: Carsten Schneider <CarstenSchneider@t-online.de> ** ** $Id$ ** ** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html */ #include "zsafe.h" +#ifndef NO_OPIE /* OPIE */ #include <opie2/odebug.h> using namespace Opie::Core; +#endif /* QT */ #ifdef DESKTOP #include <qapplication.h> #else #include <qpe/qpeapplication.h> #endif /* STD */ #include <stdio.h> #include <signal.h> ZSafe *zs; #ifdef DESKTOP QApplication *appl; #else QPEApplication *appl; #endif int DeskW; int DeskH; void suspend (int signum) { printf ("Suspend signal %d received\n", signum); } void resume (int signum) { printf ("Resume signal %d received\n", signum); zs->resume(signum); } |