Last change
on this file since 8259 was
8259,
checked in by youngk, 13 years ago
|
Integrating automatic crash reporter. Does not work atm.
|
File size:
964 bytes
|
Rev | Line | |
---|
[8259] | 1 | // |
---|
| 2 | // CMCrashReporterWindow.h |
---|
| 3 | // CMCrashReporter-App |
---|
| 4 | // |
---|
| 5 | // Created by Jelle De Laender on 20/01/08. |
---|
| 6 | // Copyright 2008 CodingMammoth. All rights reserved. |
---|
| 7 | // Copyright 2010 CodingMammoth. Revision. All rights reserved. |
---|
| 8 | // |
---|
| 9 | |
---|
| 10 | #import <Cocoa/Cocoa.h> |
---|
| 11 | #import "CMCrashReporterGlobal.h" |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | @interface CMCrashReporterWindow : NSWindowController { |
---|
| 15 | NSArray *paths; |
---|
| 16 | |
---|
| 17 | IBOutlet id description; |
---|
| 18 | IBOutlet id mailaddress; |
---|
| 19 | IBOutlet id commentField; |
---|
| 20 | IBOutlet id dontShowThis; |
---|
| 21 | IBOutlet id includeRapport; |
---|
| 22 | IBOutlet id application; |
---|
| 23 | IBOutlet id version; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | + (void)runCrashReporterWithPaths:(NSArray *)ar; |
---|
| 27 | |
---|
| 28 | - (id)init; |
---|
| 29 | |
---|
| 30 | - (NSArray *)paths; |
---|
| 31 | - (void)setPaths:(NSArray *)ar; |
---|
| 32 | |
---|
| 33 | - (void)windowDidLoad; |
---|
| 34 | - (void)windowWillClose:(NSNotification *)notification; |
---|
| 35 | |
---|
| 36 | - (BOOL)submitFile:(NSString *)file; |
---|
| 37 | - (IBAction)submitData:(id)sender; |
---|
| 38 | - (IBAction)dontReport:(id)sender; |
---|
| 39 | |
---|
| 40 | - (void)close; |
---|
| 41 | |
---|
| 42 | - (void)removeCrashLog:(NSString *)path; |
---|
| 43 | - (NSData*)generateFormData:(NSDictionary*)dict; |
---|
| 44 | |
---|
| 45 | @end |
---|
Note: See
TracBrowser
for help on using the repository browser.