Diffstat (limited to 'noncore/apps/opie-gutenbrowser/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/main.cpp | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/noncore/apps/opie-gutenbrowser/main.cpp b/noncore/apps/opie-gutenbrowser/main.cpp new file mode 100644 index 0000000..5c3348c --- a/dev/null +++ b/noncore/apps/opie-gutenbrowser/main.cpp | |||
@@ -0,0 +1,64 @@ | |||
1 | |||
2 | /*************************************************************************** | ||
3 | main.cpp - description | ||
4 | ------------------- | ||
5 | begin : Mon Jul 24 22:33:12 MDT 2000 | ||
6 | copyright : (C) 2000 -2004 by llornkcor | ||
7 | email : ljp@llornkcor.com | ||
8 | * This program is free software; you can redistribute it and/or modify * | ||
9 | * it under the terms of the GNU General Public License as published by * | ||
10 | * the Free Software Foundation; either version 2 of the License, or * | ||
11 | * (at your option) any later version. * | ||
12 | ***************************************************************************/ | ||
13 | #include "gutenbrowser.h" | ||
14 | #include <opie2/oapplicationfactory.h> | ||
15 | |||
16 | using namespace Opie::Core; | ||
17 | |||
18 | OPIE_EXPORT_APP( OApplicationFactory<Gutenbrowser> ) | ||
19 | |||
20 | // #ifdef QT_QWS_NONOPIE | ||
21 | |||
22 | // #include <qpe/qpeapplication.h> | ||
23 | // #include "gutenbrowser.h" | ||
24 | // #include <qstring.h> | ||
25 | // // #include <stdio.h> | ||
26 | // // #include <stdlib.h> | ||
27 | |||
28 | // int main(int argc, char *argv[]){ | ||
29 | // QPEApplication a(argc, argv); | ||
30 | // // char * psz; | ||
31 | // // if (argc > 1) { | ||
32 | // // for( int i=0; i < argc; i++) { | ||
33 | // // psz = argv[i]; | ||
34 | // // if( psz[0] == '-' || psz[0] == '/' ) { | ||
35 | // // // The next character is the option. | ||
36 | // // switch( psz[1] ) | ||
37 | // // { | ||
38 | // // case 'v': // help | ||
39 | // // printf("Gutenbrowser: "VERSION"\n"); | ||
40 | // // // qDebug("Gutenbrowser: "VERSION); | ||
41 | // // // return 0; | ||
42 | // // break; | ||
43 | // // case 't': // current time 19:34:20 04/03/00 | ||
44 | // // // return 0; | ||
45 | // // break; | ||
46 | // // case 'f': // | ||
47 | // // // file_Name=argv[i+1]; | ||
48 | // // break; | ||
49 | // // } | ||
50 | // // } | ||
51 | // // } | ||
52 | // // } | ||
53 | // // QNetworkProtocol::registerNetworkProtocol("http", new QNetworkProtocolFactory<Http>); | ||
54 | // // qInitNetworkProtocols();//registers ftp protocol // for now | ||
55 | // Gutenbrowser *gutenbrowser=new Gutenbrowser(); | ||
56 | // // a.setMainWidget(gutenbrowser); | ||
57 | // a.showMainWidget(gutenbrowser,TRUE); | ||
58 | // gutenbrowser->showMaximized(); | ||
59 | // gutenbrowser->show(); | ||
60 | // return a.exec(); | ||
61 | // } | ||
62 | |||
63 | |||
64 | // #endif | ||