summaryrefslogtreecommitdiff
path: root/noncore/games/parashoot/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/parashoot/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/parashoot/main.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/noncore/games/parashoot/main.cpp b/noncore/games/parashoot/main.cpp
index 60eea18..ee36d26 100644
--- a/noncore/games/parashoot/main.cpp
+++ b/noncore/games/parashoot/main.cpp
@@ -21,16 +21,7 @@
#include "interface.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main(int argc, char **argv)
-{
- QPEApplication app(argc,argv);
+OPIE_EXPORT_APP( OApplicationFactory<ParaShoot> )
- QPEApplication::grabKeyboard();
-
- ParaShoot m;
- QPEApplication::setInputMethodHint( &m, QPEApplication::AlwaysOff );
- app.showMainWidget(&m);
-
- return app.exec();
-}