aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/FeedbackReporter.framework/Versions/A/Headers
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/FeedbackReporter.framework/Versions/A/Headers')
-rw-r--r--Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h22
-rw-r--r--Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h42
2 files changed, 64 insertions, 0 deletions
diff --git a/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h
new file mode 100644
index 00000000..a0fc992d
--- /dev/null
+++ b/Frameworks/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/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h
new file mode 100644
index 00000000..e1ffe927
--- /dev/null
+++ b/Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h
@@ -0,0 +1,42 @@
+/*
+ * 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>
+
+@protocol FRFeedbackReporterDelegate
+@optional
+- (NSDictionary*) customParametersForFeedbackReport;
+- (NSMutableDictionary*) anonymizePreferencesForFeedbackReport:(NSMutableDictionary *)preferences;
+@end
+
+@interface FRFeedbackReporter : NSObject {
+
+ @private
+ id feedbackController;
+ id<FRFeedbackReporterDelegate> delegate;
+}
+
++ (FRFeedbackReporter *)sharedReporter;
+
+- (id<FRFeedbackReporterDelegate>) delegate;
+- (void) setDelegate:(id<FRFeedbackReporterDelegate>) delegate;
+
+- (BOOL) reportFeedback;
+- (BOOL) reportIfCrash;
+- (BOOL) reportException:(NSException *)exception;
+
+@end
+