summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
new file mode 100644
index 0000000..264fd55
--- a/dev/null
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -0,0 +1,19 @@
+
+#include "mainwindow.h"
+
+#include <qpe/qpeapplication.h>
+#include <qstring.h>
+int debugLevel;
+
+int main( int argc, char ** argv )
+{
+ debugLevel = 1;
+ if (argc > 2)
+ {
+ debugLevel = QString ( argv[1] ).toInt();
+ }
+ QPEApplication a( argc, argv );
+ MainWindow mw;
+ a.showMainDocumentWidget( &mw );
+ return a.exec();
+}