Making ITAppleEventCenter use ITDebugLog for all debugging things. This
[ITFoundation.git] / ITByteStream.h
index 3dce5c6..c008aac 100755 (executable)
@@ -7,11 +7,12 @@
 //
 
 #import <Foundation/Foundation.h>
 //
 
 #import <Foundation/Foundation.h>
-#import "ITConveniences.h"
 
 @class ITByteStream;
 
 @class ITByteStream;
-
-@interface ITByteStream : NSObject <Delegater> {
+@protocol DataReciever <NSObject>
+-(oneway void)newDataAdded:(id)sender;
+@end
+@interface ITByteStream : NSObject {
     @public
     NSMutableData *data;
     @private
     @public
     NSMutableData *data;
     @private
@@ -27,4 +28,7 @@
 -(void) lockStream;
 -(void) unlockStream;
 -(void) shortenData:(long)length;
 -(void) lockStream;
 -(void) unlockStream;
 -(void) shortenData:(long)length;
+-initWithDelegate:(id)delegate;
+-setDelegate:(id)delegate;
+-delegate;
 @end
 @end