Mercurial > sdl-ios-xcode
view EXCLUDE/GLIMM/src/Main.cpp @ 4753:11b0a6a3eb4d
Changed Start/StopTextInput back to not take any parameters.
We call SDL_GetKeyboardFocus internally now.
author | dewyatt |
---|---|
date | Mon, 12 Jul 2010 14:17:43 -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; }