Diffstat (limited to 'noncore/games/buzzword/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/buzzword/main.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/noncore/games/buzzword/main.cpp b/noncore/games/buzzword/main.cpp index 2d9ff81..67f2c26 100644 --- a/noncore/games/buzzword/main.cpp +++ b/noncore/games/buzzword/main.cpp | |||
@@ -8,28 +8,17 @@ | |||
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. | 12 | * Library General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this program; if not, write to the Free | 15 | * License along with this program; if not, write to the Free |
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <qpe/qpeapplication.h> | 19 | #include <qpe/qpeapplication.h> |
20 | 20 | #include <opie/oapplicationfactory.h> | |
21 | #include <stdlib.h> | ||
22 | #include <time.h> | ||
23 | 21 | ||
24 | #include "buzzword.h" | 22 | #include "buzzword.h" |
25 | 23 | ||
26 | int main(int argc, char **argv) | 24 | OPIE_EXPORT_APP( OApplicationFactory<BuzzWord> ) |
27 | { | ||
28 | srand(time(0)); | ||
29 | |||
30 | QPEApplication a( argc, argv ); | ||
31 | BuzzWord *top = new BuzzWord; | ||
32 | a.showMainWidget(top); | ||
33 | |||
34 | return a.exec(); | ||
35 | } | ||