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

pgapplication.h File Reference

Header file for the PG_Application class. More...

#include "pgmessageobject.h"
#include "pgfilearchive.h"
#include "pgfont.h"
#include "pgdraw.h"

Include dependency graph for pgapplication.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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


Detailed Description

Header file for the PG_Application class.

This include file defines the PG_Application class the PG_Main function and some macros for source backward compatibility.

Definition in file pgapplication.h.


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:57:12 2008 for Advanced Strategic Command by  doxygen 1.4.2