view EXCLUDE/GLIMM/src/Main.cpp @ 4748:d1ce08e2697f

Added missing line to make things compile.
author dewyatt
date Tue, 06 Jul 2010 03:27:22 -0400
parents bb189d44af16
children
line wrap: on
line source

#include "App.hpp"
#include <stdexcept>

int main(int argc, char *argv[])
{
	int Result = EXIT_SUCCESS;
	try
	{
		App theApp;
		theApp.Run();
	}
	catch (const std::exception& e)
	{
		printf("Error: %s\n", e.what());
		Result = EXIT_FAILURE;
	}
	catch (...)
	{
		printf("Unhandled exception\n");
		Result = EXIT_FAILURE;
	}
	system("PAUSE");
	return Result;
}