Diffstat (limited to 'noncore/settings/aqpkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/main.cpp | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/main.cpp b/noncore/settings/aqpkg/main.cpp new file mode 100644 index 0000000..e943e49 --- a/dev/null +++ b/noncore/settings/aqpkg/main.cpp | |||
@@ -0,0 +1,61 @@ | |||
1 | /*************************************************************************** | ||
2 | main.cpp - description | ||
3 | ------------------- | ||
4 | begin : Mon Aug 26 13:32:30 BST 2002 | ||
5 | copyright : (C) 2002 by Andy Qua | ||
6 | email : andy.qua@blueyonder.co.uk | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
11 | * This program is free software; you can redistribute it and/or modify * | ||
12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | |||
18 | #ifdef QWS | ||
19 | #include <qpe/qpeapplication.h> | ||
20 | #else | ||
21 | #include <qapplication.h> | ||
22 | #endif | ||
23 | |||
24 | #include <qobjectdefs.h> | ||
25 | |||
26 | #include "mainwin.h" | ||
27 | #include "server.h" | ||
28 | |||
29 | #include "global.h" | ||
30 | |||
31 | |||
32 | /* | ||
33 | int main2(int argc, char *argv[]) | ||
34 | { | ||
35 | Server local( "local", "", "status" ); | ||
36 | local.readPackageFile(); | ||
37 | |||
38 | Server s( "opiecvs", "aaa" ); | ||
39 | s.readPackageFile( &local ); | ||
40 | |||
41 | } | ||
42 | */ | ||
43 | |||
44 | int main(int argc, char *argv[]) | ||
45 | { | ||
46 | #ifdef QWS | ||
47 | QPEApplication a( argc, argv ); | ||
48 | #else | ||
49 | QApplication a( argc, argv ); | ||
50 | #endif | ||
51 | |||
52 | MainWindow *win = new MainWindow(); | ||
53 | a.setMainWidget(win); | ||
54 | win->show(); | ||
55 | |||
56 | a.exec(); | ||
57 | |||
58 | #ifdef _DEBUG | ||
59 | DumpUnfreed(); | ||
60 | #endif | ||
61 | } | ||