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

pgmain.cpp File Reference

#include "pgapplication.h"
#include "pglog.h"
#include <cstdlib>

Include dependency graph for pgmain.cpp:

Go to the source code of this file.

Functions

int PG_main (int argc, char **argv, PG_Application *app)
 runs the ParaGUI main loop.


Function Documentation

int PG_main int  argc,
char **  argv,
PG_Application app
 

runs the ParaGUI main loop.

Parameters:
argc argument count (from main)
argv array of arguments (from main)
app the PG_Application object
Returns:
status code.
This function is an encapsulation of app->Run(). It also handles exceptions (if enabled).

Definition at line 37 of file pgmain.cpp.

References PG_CATCH_ALL, PG_LogERR(), PG_TRY, and PG_Application::Run().


Generated on Tue Jun 24 01:59:54 2008 for Advanced Strategic Command by  doxygen 1.4.2