Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

main.cpp

Go to the documentation of this file.
00001 
00002 /***************************************************************************
00003                           main.cpp  -  description
00004                              -------------------
00005     begin                : Mon Jul 24 22:33:12 MDT 2000
00006     copyright            : (C) 2000 -2004 by llornkcor
00007     email                : ljp@llornkcor.com
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  ***************************************************************************/
00013 #include "gutenbrowser.h"
00014 #include <opie2/oapplicationfactory.h>
00015 
00016 using namespace Opie::Core;
00017 
00018 OPIE_EXPORT_APP( OApplicationFactory<Gutenbrowser> )
00019 
00020 // #ifdef QT_QWS_NONOPIE
00021                 
00022 // #include <qpe/qpeapplication.h>
00023 // #include "gutenbrowser.h"
00024 // #include <qstring.h>
00025 // // #include <stdio.h>
00026 // // #include <stdlib.h>
00027 
00028 // int main(int argc, char *argv[]){
00029 //              QPEApplication a(argc, argv);
00030 // //     char * psz;
00031 // //     if  (argc > 1) {
00032 // //         for( int i=0; i < argc; i++) {
00033 // //             psz = argv[i];
00034 // //             if( psz[0] == '-' || psz[0] == '/' ) {
00035 // // // The next character is the option.
00036 // //                 switch( psz[1] )
00037 // //                     {
00038 // //                     case 'v': // help
00039 // //                         printf("Gutenbrowser: "VERSION"\n");
00040 // // //                        odebug << "Gutenbrowser: "VERSION << oendl; 
00041 // //                           //                      return 0;
00042 // //                         break;
00043 // //                     case 't': // current time 19:34:20 04/03/00
00044 // // //                        return 0;
00045 // //                         break;
00046 // //                     case 'f': //
00047 // // //                         file_Name=argv[i+1];
00048 // //                         break;
00049 // //                     }
00050 // //             }
00051 // //         }
00052 // //     }
00053 // //        QNetworkProtocol::registerNetworkProtocol("http", new QNetworkProtocolFactory<Http>);
00054 // //          qInitNetworkProtocols();//registers ftp protocol // for now
00055 //              Gutenbrowser *gutenbrowser=new Gutenbrowser();
00056 // //        a.setMainWidget(gutenbrowser);
00057 //              a.showMainWidget(gutenbrowser,TRUE);
00058 //              gutenbrowser->showMaximized();
00059 //              gutenbrowser->show();
00060 //              return a.exec();
00061 // }
00062 
00063 
00064 // #endif

Generated on Sat Nov 5 16:15:25 2005 for OPIE by  doxygen 1.4.2