diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-25 00:02:01 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-25 00:02:01 +0000 |
commit | c073e11612e36a7f9b8d7033faf08d663dd40c1f (patch) | |
tree | 6cbb08281de2c61148d4490be6449bfb15c34cf6 /Frameworks/UniversalDetector.framework/Versions/A/Headers | |
parent | 477d0be75f3433a457f22a89b266235dae0aa164 (diff) | |
download | sequelpro-c073e11612e36a7f9b8d7033faf08d663dd40c1f.tar.gz sequelpro-c073e11612e36a7f9b8d7033faf08d663dd40c1f.tar.bz2 sequelpro-c073e11612e36a7f9b8d7033faf08d663dd40c1f.zip |
- Fix positioning bug when using Import From Clipboard
- Add controllable encoding support when importing CSV and SQL files, including a new default "Autodetect" option. Add UniversalDetector framework to support encoding autodetection. This should address Issue #720.
Diffstat (limited to 'Frameworks/UniversalDetector.framework/Versions/A/Headers')
-rwxr-xr-x | Frameworks/UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Frameworks/UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h b/Frameworks/UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h new file mode 100755 index 00000000..5d8d023b --- /dev/null +++ b/Frameworks/UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h @@ -0,0 +1,26 @@ +#import <Foundation/Foundation.h> + +@interface UniversalDetector:NSObject +{ + void *detectorPtr; + NSString *charsetName; + float confidence; +} + +-(id)init; +-(void)dealloc; + +-(void)analyzeData:(NSData *)data; +-(void)analyzeBytes:(const char *)data length:(int)len; +-(void)reset; + +-(BOOL)done; +-(NSString *)MIMECharset; +-(NSStringEncoding)encoding; +-(float)confidence; + +//-(void)debugDump; + ++(UniversalDetector *)detector; + +@end |