guifunc.cpp File Reference

This file contains the function that loads the GUI dynamic library. More...

#include <cstdlib>
#include "dynload.h"

Go to the source code of this file.

Functions

int(*)(int, char **) GetGuiFunc (LIBHANDLE *pGuiLibHandle)
 This function returns a function that starts the GUI.


Detailed Description

This file contains the function that loads the GUI dynamic library.

It tries to open the GUI dynamic library if it can establish a connection to a X server (on Linux only) and starts the GUI if everything goes right.

Definition in file guifunc.cpp.


Function Documentation

int(* )(int, char**) GetGuiFunc ( LIBHANDLE *  pGuiLibHandle  ) 

This function returns a function that starts the GUI.

The function that is returned takes the same arguments as main(). It returns NULL on error. It takes pointer to void * to return a handle to the dynamic library.

Definition at line 21 of file guifunc.cpp.

Referenced by main().


Generated on Fri Dec 5 03:20:33 2008 for Mathematical Ray-tracer by  doxygen 1.5.4