Diffstat (limited to 'noncore/games/backgammon/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/backgammon/main.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/noncore/games/backgammon/main.cpp b/noncore/games/backgammon/main.cpp index 86b452d..58ced10 100644 --- a/noncore/games/backgammon/main.cpp +++ b/noncore/games/backgammon/main.cpp @@ -2,13 +2,7 @@ #include "backgammon.h" +#include <opie/oapplicationfactory.h> -int main( int argc, char** argv ) -{ - QPEApplication app( argc, argv ); +OPIE_EXPORT_APP( OApplicationFactory<BackGammon> ) - BackGammon* view= new BackGammon(); - app.showMainWidget(view); - - return app.exec(); -} |