/* IMServicePlugInFileTransfer.h IMServicePlugIn Framework Copyright (c) 2009-2010, Apple, Inc. All rights reserved. */ #import @class IMServicePlugInFileTransferSession; typedef struct _IMServicePlugInFileTransferInternal IMServicePlugInFileTransferInternal; @interface IMServicePlugInFileTransfer : NSObject { IMServicePlugInFileTransferInternal *_internal; } + (id) fileTransferWithPath: (NSString *) path type: (NSString *) type totalBytes: (unsigned long long) totalBytes; - (id) initWithPath: (NSString *) path type: (NSString *) type totalBytes: (unsigned long long) totalBytes; @property (readonly) NSString *guid; @property (readonly) NSString *path; @property (readonly) NSString *type; @property (readonly) unsigned long long transferredBytes; @property (readonly) unsigned long long totalBytes; @property (readonly) IMServicePlugInFileTransferSession *session; @end @interface IMServicePlugInOutgoingFileTransfer : IMServicePlugInFileTransfer - (void) resetInputStream; @property (readonly) NSInputStream *inputStream; @end @interface IMServicePlugInIncomingFileTransfer : IMServicePlugInFileTransfer - (void) resetOutputStream; @property (readonly) NSOutputStream *outputStream; @end