forked from AJet/DFeedback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DFCrashReportWindowController.h
30 lines (23 loc) · 1.31 KB
/
DFCrashReportWindowController.h
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
26
27
28
29
30
//-------------------------------------------------------------------------------------------------
// Copyright (c) 2008 DaisyDisk Team: <http://www.daisydiskapp.com>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//-------------------------------------------------------------------------------------------------
#import <Cocoa/Cocoa.h>
#import "DFLinkLabelDelegate.h"
#import "DFSystemProfileDataType.h"
#import "DFFeedbackSenderDelegate.h"
#import "DFSystemProfileFetcherDelegate.h"
//-------------------------------------------------------------------------------------------------
// Crash report window controller
@interface DFCrashReportWindowController : NSWindowController<DFLinkLabelDelegate, NSAnimationDelegate, DFFeedbackSenderDelegate, DFSystemProfileFetcherDelegate>
// Initialization, call before first use
+ (void)initializeWithFeedbackUrl:(NSString*)feedbackUrl
updateUrl:(NSString*)updateUrl
icon:(NSImage*)icon
systemProfileDataTypes:(DFSystemProfileDataType)systemProfileDataTypes;
// Singleton
+ (DFCrashReportWindowController*)singleton;
// Shows the crash report window for the specified exception
- (void)showReportForException:(NSException*)exception
exceptionStackTrace:(NSString*)exceptionStackTrace;
@end