aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/FeedbackReporter.framework/Versions/A/Headers
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-06 02:10:35 +0000
committerrowanbeentje <rowan@beent.je>2010-03-06 02:10:35 +0000
commit37b41c535f442aa85750679dccc7885655cb3429 (patch)
treef2961fb4141f329ae0e17e111260993caf2cf0cb /Frameworks/FeedbackReporter.framework/Versions/A/Headers
parent0075403979eff53d16f928733247837d72d37a0b (diff)
downloadsequelpro-37b41c535f442aa85750679dccc7885655cb3429.tar.gz
sequelpro-37b41c535f442aa85750679dccc7885655cb3429.tar.bz2
sequelpro-37b41c535f442aa85750679dccc7885655cb3429.zip
Improve Feedback reporter privacy and functionality:
- Update to a development version of the feedback reporter, which improves logging and allows functionality like exception reporting from non-main threads (together with many other improvements). - Use the new preference privacy delegate methods to remove query history and favorite settings, together with other hostname/user path type settings, to anonymise the preferences submitted - Limit the console log submitted to 10k - Move the framework into the Frameworks folder
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
+