Mercurial > sdl-ios-xcode
annotate 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 |
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 } |