summaryrefslogtreecommitdiff
authorzecke <zecke>2003-11-30 13:13:52 (UTC)
committer zecke <zecke>2003-11-30 13:13:52 (UTC)
commit8339a705567a3bd50af2e41805e9256973eedcc4 (patch) (side-by-side diff)
treee38f9a739b02d3c709aa843c8f4bce95e68bfacf
parent6804b865ea84e995e93e22582d0584b84810be38 (diff)
downloadopie-8339a705567a3bd50af2e41805e9256973eedcc4.zip
opie-8339a705567a3bd50af2e41805e9256973eedcc4.tar.gz
opie-8339a705567a3bd50af2e41805e9256973eedcc4.tar.bz2
If OPIE_NO_BUILTIN_CALIBRATION is not requested bultin calibration
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/server.cpp b/core/launcher/server.cpp
index 6a140e9..b9580c7 100644
--- a/core/launcher/server.cpp
+++ b/core/launcher/server.cpp
@@ -86,49 +86,49 @@ static QWidget *calibrate(bool)
} else { \
w->resize( QSize( 300, 300 ) ); \
} \
} \
w->show(); \
return w; \
}
#ifdef SINGLE_APP
#define APP(a,b,c,d) FACTORY(b)
#include "apps.h"
#undef APP
#endif // SINGLE_APP
static Global::Command builtins[] = {
#ifdef SINGLE_APP
#define APP(a,b,c,d) { a, new##b, c, d },
#include "apps.h"
#undef APP
#endif
/* FIXME defines need to be defined*/
-#if defined(QPE_NEED_CALIBRATION)
+#if !defined(OPIE_NO_BUILTIN_CALIBRATE)
{ "calibrate", calibrate, 1, 0 }, // No tr
#endif
#if !defined(OPIE_NO_BUILTIN_SHUTDOWN)
{ "shutdown", Global::shutdown, 1, 0 }, // No tr
// { "run", run, 1, 0 }, // No tr
#endif
{ 0, calibrate, 0, 0 },
};
//---------------------------------------------------------------------------
//===========================================================================
Server::Server() :
QWidget( 0, 0, WStyle_Tool | WStyle_Customize ),
qcopBridge( 0 ),
transferServer( 0 ),
packageHandler( 0 ),
syncDialog( 0 )
{
Global::setBuiltinCommands(builtins);