forked from orta/tumblrclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMMICrashReporterBridge.h
70 lines (51 loc) · 1.79 KB
/
MMICrashReporterBridge.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// untitled.h
// MMICrashReporter
//
// Created by Martin Redington on 17/05/2006.
// Copyright 2006 MildMannered Industries. All rights reserved.
//
/*!
@header MMICrashReporterBridge.h
@discussion Applications which wish to use MMICrashReporter must import this
header and the corresponding object file.
@copyright MildMannered Industries
*/
#import <Cocoa/Cocoa.h>
/*!
@class MMICrashReporterBridge
@abstract MMICrashReporterBridge is the access point for MMICrashReporter.
@discussion Developers who wish to integrate MMICrashReporter with their
application should call the <code>installSignalHandlers</code> method soon
after startup.
If you want to connect a user interface item or control to launching a bug report,
you can instantiate MMICrashReporterBridge in your nib, and call the
<code>reportBug:</code> method.
See the Integration docs for more information.
*/
@interface MMICrashReporterBridge : NSObject {
}
/*!
@method installSignalHandlers
@abstract Installs the signal handlers that will launch a new Crash Report if the
application crashes.
@discussion If MMICrashReporter, or its configuration cannot be found inside the
callers main Bundle, this method will fail, and a message will be printed
to the Console Log.
@result YES if the signal handlers were installed, and NO otherwise.
*/
+ (BOOL) installSignalHandlers;
/*!
@method reportBug
@abstract Launches a new Bug Report.
@discussion You can use this method to launch a Bug Report from within your application.
*/
+ (void) reportBug;
/*!
@method reportBug:
@abstract Launches a new Bug Report.
@discussion This instance method can be used to connect user interface items to.
@param The sender of the message.
*/
- (IBAction) reportBug:(id)sender;
@end