|
|
1.1 ! root 1: /* ! 2: Coordinator.h ! 3: by Joe Freeman, David LaVallee ! 4: Subprocess Example, Release 2.0 ! 5: NeXT Computer, Inc. ! 6: ! 7: You may freely copy, distribute and reuse the code in this example. ! 8: NeXT disclaims any warranty of any kind, expressed or implied, as to ! 9: its fitness for any particular use. ! 10: */ ! 11: ! 12: #import <objc/Object.h> ! 13: ! 14: @interface Coordinator:Object ! 15: { ! 16: id commandView; ! 17: id infoPanel; ! 18: id theSubprocess; ! 19: id stringTable; ! 20: } ! 21: ! 22: - showInfo:sender; ! 23: ! 24: // Subprocess Delegation ! 25: ! 26: - subprocessOutput:(char *)buffer; ! 27: - subprocessDone; ! 28: ! 29: // CommandScroll Delegation ! 30: ! 31: - userEntered:(char *)buffer; ! 32: ! 33: // Application Object Delegation ! 34: ! 35: - appDidInit:sender; ! 36: - appWillTerminate:sender; ! 37: ! 38: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.