Diffstat (limited to 'noncore/multimedia/opierec/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opierec/main.cpp b/noncore/multimedia/opierec/main.cpp index bb51446..a435d8e 100644 --- a/noncore/multimedia/opierec/main.cpp +++ b/noncore/multimedia/opierec/main.cpp | |||
@@ -1,13 +1,14 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | |||
2 | main.cpp - main routine | 3 | main.cpp - main routine |
3 | ***************************************************************************/ | 4 | ***************************************************************************/ |
4 | //// main.cpp | 5 | //// main.cpp |
5 | //// copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com> | 6 | //// copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com> |
6 | /*************************************************************************** | 7 | /*************************************************************************** |
7 | * This program is free software; you can redistribute it and/or modify * | 8 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 9 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 10 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 11 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 12 | ***************************************************************************/ |
12 | #include "qtrec.h" | 13 | #include "qtrec.h" |
13 | 14 | ||
@@ -15,17 +16,18 @@ | |||
15 | int main(int argc, char* argv[]) { | 16 | int main(int argc, char* argv[]) { |
16 | QPEApplication a(argc, argv); | 17 | QPEApplication a(argc, argv); |
17 | QtRec qtrec; | 18 | QtRec qtrec; |
18 | a.showMainWidget( &qtrec); | 19 | a.showMainWidget( &qtrec); |
19 | return a.exec(); | 20 | return a.exec(); |
20 | } | 21 | } |
21 | 22 | ||
22 | 23 | ||
23 | #else | 24 | #else |
24 | 25 | ||
25 | #include <opie2/oapplicationfactory.h> | 26 | #include <opie2/oapplicationfactory.h> |
26 | 27 | ||
28 | using namespace Opie::Core; | ||
27 | OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) | 29 | OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) |
28 | 30 | ||
29 | #endif | 31 | #endif |
30 | 32 | ||
31 | 33 | ||