diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-06 02:10:35 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-06 02:10:35 +0000 |
commit | 37b41c535f442aa85750679dccc7885655cb3429 (patch) | |
tree | f2961fb4141f329ae0e17e111260993caf2cf0cb /Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h | |
parent | 0075403979eff53d16f928733247837d72d37a0b (diff) | |
download | sequelpro-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/FRFeedbackReporter.h')
-rw-r--r-- | Frameworks/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h | 42 |
1 files changed, 42 insertions, 0 deletions
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 + |