Fix 10.7 compatibility and add a window to show an exception log

This commit is contained in:
galad87 committed 2015-08-29 11:41:24 +02:00
1 parent 60b1c60155
commit d1360727ec
13 files changed
+452

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
/* HBExceptionAlertController.h $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
#import <Cocoa/Cocoa.h>
typedef NS_ENUM(NSUInteger, SBExceptionAlertControllerResult) {
SBExceptionAlertControllerResultCrash,
SBExceptionAlertControllerResultContinue,
};
@interface SBExceptionAlertController : NSWindowController
// Properties are used by bindings
@property (copy) NSString *exceptionMessage;
@property (copy) NSAttributedString *exceptionBacktrace;
- (IBAction)btnCrashClicked:(id)sender;
- (IBAction)btnContinueClicked:(id)sender;
- (NSInteger)runModal;
@end