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

frontEndThread.cpp File Reference

#include "frontEnd.h"
#include "frontEndThread.h"
#include <unistd.h>
#include <pthread.h>

Go to the source code of this file.

Functions

void* FrontEndThread (void* argz)
 The Frontend Thread. More...


Variables

FrontEndfrontEnd


Function Documentation

void * FrontEndThread ( void * args)

The Frontend Thread.

Parameters:
args   the arguments passed by main()

Definition at line 57 of file frontEndThread.cpp.

00058 {
00059     FETArgs* args = (FETArgs*) argz;
00060 #ifdef FRONTEND_KDE
00061     frontEnd = new KDEFrontEnd (args->argc, args->argv);
00062     frontEnd->init ();
00063 #endif
00064 
00065 #ifdef FRONTEND_NCURSES
00066     frontEnd = new NCursesFrontEnd (args->argc, args->argv);
00067 #endif
00068 
00069 #ifdef FRONTEND_PLUGIN
00070     frontEnd = new PlugInFrontEnd (args->argc, args->argv);
00071     frontEnd->init ();
00072 #endif
00073 
00074 #ifdef FRONTEND_TEXTONLY
00075     frontEnd = new TextOnlyFrontEnd (args->argc, args->argv);
00076 #endif
00077 
00078 
00079 #ifdef FRONTEND_QT
00080     frontEnd = new QtFrontEnd (args->argc, args->argv);
00081     frontEnd->init ();
00082 #endif
00083 
00084 
00085 
00086 
00087     frontEnd->displayDebugMessage ("FrontEndThread started");
00088 
00089     return argz;
00090     }

Variable Documentation

FrontEnd * frontEnd

Definition at line 43 of file frontEndThread.cpp.


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