Mercurial > sdl-ios-xcode
annotate 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 |
rev | line source |
---|---|
4741 | 1 #include "App.hpp" |
2 #include <stdexcept> | |
3 | |
4 int main(int argc, char *argv[]) | |
5 { | |
6 int Result = EXIT_SUCCESS; | |
7 try | |
8 { | |
9 App theApp; | |
10 theApp.Run(); | |
11 } | |
12 catch (const std::exception& e) | |
13 { | |
14 printf("Error: %s\n", e.what()); | |
15 Result = EXIT_FAILURE; | |
16 } | |
17 catch (...) | |
18 { | |
19 printf("Unhandled exception\n"); | |
20 Result = EXIT_FAILURE; | |
21 } | |
22 system("PAUSE"); | |
23 return Result; | |
24 } |