/*
 *     Generated by class-dump 3.0.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004 by Steve Nygard.
 */

#import <InstantMessage/SocketStream.h>

@class IncomingFileURL, NSMutableData, NSMutableDictionary, NSString;

@interface IncomingFileStream : SocketStream
{
    IncomingFileURL *_owner;
    NSString *_filePath;
    struct FSRef _fileFSRef;
    NSMutableData *_header;
    BOOL _isAppleSingle;
    struct _NSRange _dataRange;
    struct _NSRange _rsrcRange;
    NSMutableDictionary *_fileAttributes;
    unsigned int _inputPos;
    short _dataForkRef;
    short _rsrcForkRef;
    int _state;
}

- (id)initWithIncomingFileURL:(id)fp8;
- (void)dealloc;
- (void)_closeOutput;
- (void)disconnect;
- (BOOL)saveAs:(id)fp8;
- (int)_parseAppleSingleHeader:(id)fp8;
- (BOOL)_writeBytes:(const void *)fp8 len:(unsigned long)fp12 toFork:(short *)fp16 withRange:(struct _NSRange)fp20;
- (BOOL)_parseBytes:(const void *)fp8 length:(unsigned long)fp12 atEOF:(BOOL)fp16;
- (void)errorOccurred:(CDAnonymousStruct2)fp8 onStream:(void *)fp16;
- (void)openCompleted:(void *)fp8;
- (void)dataReceived:(id)fp8;
- (void)EOFReached;

@end

