summaryrefslogtreecommitdiffstats
path: root/macosx/HBExceptionAlertController.h
blob: aaf49647c4b9f9704dd00a5df5435f49b42e7844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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, HBExceptionAlertControllerResult) {
    HBExceptionAlertControllerResultCrash,
    HBExceptionAlertControllerResultContinue,
};

@interface HBExceptionAlertController : 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