summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
blob: bacc973d96760fec4c0314f5f414e720680e4e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#include "mainwindow.h"

#include <qpe/qpeapplication.h>
#include <qstring.h>
#include <qmessagebox.h>
int debugLevel;

int main( int argc, char ** argv )
{

  debugLevel = 2;
  if (argc > 0)
  {
      debugLevel = QString ( argv[1] ).toInt();
  }
  QPEApplication a( argc, argv );
  MainWindow mw;
  if (debugLevel < 4)
		QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
  a.showMainDocumentWidget( &mw );
  return a.exec();
}