Mercurial > sdl-ios-xcode
comparison EXCLUDE/GLIMM/src/Main.cpp @ 4741:bb189d44af16
Added GLIMM (using IMM instead of TSF)
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
author | dewyatt |
---|---|
date | Wed, 30 Jun 2010 17:29:20 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4740:abf528de6d2e | 4741:bb189d44af16 |
---|---|
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 } |