Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

qtFrontEnd.cpp

Go to the documentation of this file.
00001 /********************************************************************
00002 Description:
00003 part of the 3Dsia project
00004 created: StonedBones, 24.2.2000
00005 
00006 History:
00007     date,   name,       changes,                    in funtion
00008     280200  StonedBones created source
00009 
00010 ********************************************************************/
00011 
00012 #include "qtFrontEnd.h"
00013 
00014 #include "../../../common/config.h"
00015 #include "../../../common/options.h"
00016 #include "../../../common/intToChar.h"
00017 
00018 #include "../../inputDevicePlugIn.h"
00019 
00020 #include "mainWidget.h"
00021 
00022 #include <dlfcn.h>
00023 #include <fcntl.h>
00024 #include <stdio.h>
00025 #include <malloc.h>
00026 #include <unistd.h>
00027 #include <string.h>
00028 #include <stdlib.h>
00029 
00030 /*...................................................................
00031 Description: returns pointer to frontend
00032 Args: <none>
00033 Returns: see description
00034 Created: StonedBones, 28.2.2000
00035 [ToDo:]
00036 [Comments:]
00037 Changes:
00038 -------------------------------------------------------------------*/
00039 
00040 extern "C" { struct ConfigFrontEndPlugIn *GetConfigFrontEndPlugIn ( void ); };
00041 
00042 struct ConfigFrontEndPlugIn *GetConfigFrontEndPlugIn ( void )
00043     {
00044     return &qtPlug;
00045     }
00046 
00047 /*...................................................................
00048 Description: init
00049 Args: <none>
00050 Returns: <none>
00051 Created: StonedBones, 28.2.2000
00052 [ToDo:]
00053 [Comments:]
00054 Changes:
00055 -------------------------------------------------------------------*/
00056 
00057 void init ( void )
00058     {
00059     fprintf ( stderr, "\n3Dsia client\nQt configuration frontend plugin\n" );
00060     };
00061 
00062 /*...................................................................
00063 Description: runs the configuration
00064 Args: <none>
00065 Returns: <none>
00066 Created: StonedBones, 28.2.2000
00067 [ToDo:]
00068 [Comments:]
00069 Changes:
00070 -------------------------------------------------------------------*/
00071 
00072 void run (int argc, char** argv) {
00073     QApplication qapp (argc, argv);
00074     
00075     MyMainWidget w;
00076     
00077     w.show ();
00078     qapp.setMainWidget (&w);
00079     qapp.exec ();
00080 };

Generated at Sat May 13 13:50:22 2000 for 3Dsia by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000