aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/UniversalDetector.framework/Versions/A/Headers
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-07-25 00:02:01 +0000
committerrowanbeentje <rowan@beent.je>2010-07-25 00:02:01 +0000
commitc073e11612e36a7f9b8d7033faf08d663dd40c1f (patch)
tree6cbb08281de2c61148d4490be6449bfb15c34cf6 /Frameworks/UniversalDetector.framework/Versions/A/Headers
parent477d0be75f3433a457f22a89b266235dae0aa164 (diff)
downloadsequelpro-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-xFrameworks/UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h26
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