diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-03 01:29:44 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-03 01:29:44 +0000 |
commit | c96491888011538e6da8ed6b6dd2ef217c845f2b (patch) | |
tree | b5c5b6d1af8369409f099684655496f5ab717ea1 /FeedbackReporter.framework/Versions/A/Headers | |
parent | 300e2cb06db621fb7f651b11e5e1c6bb2f6fbd87 (diff) | |
download | sequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.tar.gz sequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.tar.bz2 sequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.zip |
- Addition and enabling of crash reporting and exception reporting, submitting to a new online repository. Integrates the FeedbackReporter framework.
Diffstat (limited to 'FeedbackReporter.framework/Versions/A/Headers')
-rw-r--r-- | FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h | 22 | ||||
-rw-r--r-- | FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h | 40 |
2 files changed, 62 insertions, 0 deletions
diff --git a/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h b/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h new file mode 100644 index 00000000..a0fc992d --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h @@ -0,0 +1,22 @@ +/* + * Copyright 2008, Jens Alfke, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import <Cocoa/Cocoa.h> + + +@interface FRExceptionReportingApplication : NSApplication + +@end diff --git a/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h b/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h new file mode 100644 index 00000000..b9dfa310 --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h @@ -0,0 +1,40 @@ +/* + * Copyright 2008, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import <Cocoa/Cocoa.h> + +@interface FRFeedbackReporter : NSObject { + + @private + NSLock *modalLock; + id feedbackController; + id delegate; +} + ++ (FRFeedbackReporter *)sharedReporter; + +- (id) delegate; +- (void) setDelegate:(id) delegate; + +- (BOOL) reportFeedback; +- (BOOL) reportIfCrash; +- (BOOL) reportException:(NSException *)exception; + +@end + +@interface NSObject (FRFeedbackReporterDelegate) +- (NSDictionary*) customParametersForFeedbackReport; +@end |