/CCITTHandle.h
C Header | 37 lines | 27 code | 10 blank | 0 comment | 0 complexity | 2f95c3c2ebd4fec05ee14b49097f3f49 MD5 | raw file
1#import <XADMaster/CSByteStreamHandle.h> 2#import <XADMaster/XADPrefixCode.h> 3 4extern NSString *CCITTCodeException; 5 6@interface CCITTFaxHandle:CSByteStreamHandle 7{ 8 int cols,white; 9 int col,colour,bitsleft; 10} 11 12-(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue; 13 14-(void)resetByteStream; 15-(uint8_t)produceByteAtOffset:(off_t)pos; 16 17-(void)startNewLine; 18-(void)findNextSpanLength; 19 20@end 21 22@interface CCITTFaxT6Handle:CCITTFaxHandle 23{ 24 int *prevchanges,numprevchanges; 25 int *currchanges,numcurrchanges; 26 int prevpos,previndex,currpos,currcol,nexthoriz; 27 XADPrefixCode *maincode,*whitecode,*blackcode; 28} 29 30-(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue; 31-(void)dealloc; 32 33-(void)resetByteStream; 34-(void)startNewLine; 35-(void)findNextSpanLength; 36 37@end