-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPLCrashReporter.h
41 lines (25 loc) · 915 Bytes
/
PLCrashReporter.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
@interface PLCrashReporter
@end
@interface PLCrashReport : NSObject
@end
@interface PLCrashReportTextFormatter
@end
@interface PLCrashReporter (MM)
+ (PLCrashReporter *) sharedReporter;
- (BOOL) hasPendingCrashReport;
- (NSData *) loadPendingCrashReportData;
- (NSData *) loadPendingCrashReportDataAndReturnError: (NSError **) outError;
- (BOOL) purgePendingCrashReport;
- (BOOL) purgePendingCrashReportAndReturnError: (NSError **) outError;
- (BOOL) enableCrashReporter;
- (BOOL) enableCrashReporterAndReturnError: (NSError **) outError;
@end
@interface PLCrashReport (MM)
- (id) initWithData: (NSData *) encodedData error: (NSError **) outError;
@end
@interface PLCrashReportTextFormatter (MM)
typedef enum {
PLCrashReportTextFormatiOS = 0
} PLCrashReportTextFormat;
+ (NSString *) stringValueForCrashReport: (PLCrashReport *) report withTextFormat: (PLCrashReportTextFormat) textFormat;
@end