git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Give me a B! Give me a U! Give me a G!
[ITFoundation.git]
/
ITByteStream.h
diff --git
a/ITByteStream.h
b/ITByteStream.h
index
52297c5
..
a1053f3
100755
(executable)
--- a/
ITByteStream.h
+++ b/
ITByteStream.h
@@
-10,8
+10,8
@@
@class ITByteStream;
@class ITByteStream;
-@protocol ITByteStreamDelegate
--(void)newDataAdded:(ITByteStream *)sender;
+@protocol ITByteStreamDelegate
<NSObject>
+-(
oneway
void)newDataAdded:(ITByteStream *)sender;
@end
@interface ITByteStream : NSObject {
@end
@interface ITByteStream : NSObject {
@@
-29,4
+29,7
@@
-(NSData*) readAllData;
-(void) writeData:(in NSData*)data;
-(void) writeBytes:(char *)b len:(long)length;
-(NSData*) readAllData;
-(void) writeData:(in NSData*)data;
-(void) writeBytes:(char *)b len:(long)length;
+-(void) lockStream;
+-(void) unlockStream;
+-(void) shortenData:(long)length;
@end
@end