X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/68089b190f6a03c185722c8532197dacabf52f8d..086eb4c9abbda3c5d5f74c07800ad5cb04a50505:/ITByteStream.h?ds=inline diff --git a/ITByteStream.h b/ITByteStream.h index 3dce5c6..c008aac 100755 --- a/ITByteStream.h +++ b/ITByteStream.h @@ -7,11 +7,12 @@ // #import -#import "ITConveniences.h" @class ITByteStream; - -@interface ITByteStream : NSObject { +@protocol DataReciever +-(oneway void)newDataAdded:(id)sender; +@end +@interface ITByteStream : NSObject { @public NSMutableData *data; @private @@ -27,4 +28,7 @@ -(void) lockStream; -(void) unlockStream; -(void) shortenData:(long)length; +-initWithDelegate:(id)delegate; +-setDelegate:(id)delegate; +-delegate; @end