]> git.tdb.fi Git - libs/core.git/commit
Redesign uncaught exception handling to allow external reporters
authorMikko Rasa <tdb@tdb.fi>
Sat, 5 Oct 2013 12:12:35 +0000 (15:12 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 5 Oct 2013 12:12:35 +0000 (15:12 +0300)
commitf042fd992170ee8a50a7f596f1c9cdd9600b8583
treef1b0aeb023718c1365a2cba3ae087a9a6b67567a
parent9a327fbe5dbad5edec04641527e65d5e7ea4c568
Redesign uncaught exception handling to allow external reporters

This helps keep UI code out of the core library.  It was becoming a
problem especially on OS X where including an Objective-C wrapper around
NSAlert would have broken Builder's bootstrap.  Libmspgui will acquire
a class that will present graphical error dialogs on each platform.
source/core/application.cpp
source/core/application.h
source/core/unix/application.cpp [deleted file]
source/core/windows/application.cpp [deleted file]
source/debug/errorreporter.cpp [new file with mode: 0644]
source/debug/errorreporter.h [new file with mode: 0644]