X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/6262c31ef1f3b4c4cec3e909f0ecc189eb242ab2..744612b5d258474e367710b870a5caaed7d11ab9:/ITThreadChild.h diff --git a/ITThreadChild.h b/ITThreadChild.h new file mode 100644 index 0000000..a0892e7 --- /dev/null +++ b/ITThreadChild.h @@ -0,0 +1,29 @@ +/* + * ITFoundation + * ITThreadChild.h + * + * Copyright (c) 2008 by iThink Software. + * All Rights Reserved. + * + * $Id$ + * + */ + +#import + +@protocol ITThreadChild ++ (void)runWithPorts:(NSArray *)portArray; // portArray[0] = receivePort, portArray[1] = sendPort. register an uninitialized object! +@end + +@protocol ITThreadParent +- (id)objectByPerformingSelector:(SEL)selector onClass:(Class)class; +- (BOOL)registerThreadedChild:(id )childObject; // receives an uninitialized (only alloc'd) child +@end + +@interface ITThreadChild : NSObject { + +} + ++ (void)runWithPorts:(NSArray *)portArray; + +@end