Mercurial > sdl-ios-xcode
view EXCLUDE/GLIMM/src/Main.cpp @ 4750:22aa6a631d34
Changed StartTextInput to take an SDL_Window parameter.
author | dewyatt |
---|---|
date | Thu, 08 Jul 2010 01:35:47 -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; }