source: trunk/UniversalDetector/UniversalDetector.h @ 1044

Revision 1044, 408 bytes checked in by astrange, 6 years ago (diff)
  • Add new tool targets ssa2html and detect-encoding.
  • Lift some Xcode settings out of the Perian target into the project.
  • Fix compilation error in FFission.
  • Remove unused variable in SubContext?. (small memory savings)
Line 
1#import <Cocoa/Cocoa.h>
2
3
4@interface UniversalDetector:NSObject
5{
6        void *detectorptr;
7        NSString *charset;
8        float confidence;
9}
10
11-(id)init;
12-(void)dealloc;
13
14-(void)analyzeData:(NSData *)data;
15-(void)analyzeBytes:(const char *)data length:(int)len;
16-(void)reset;
17
18-(BOOL)done;
19-(NSString *)MIMECharset;
20-(NSStringEncoding)encoding;
21-(float)confidence;
22
23-(void)debugDump;
24
25+(UniversalDetector *)detector;
26
27@end
Note: See TracBrowser for help on using the repository browser.