home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Examples
/
UNIX
/
Subprocess
/
CommandScroll.h
next >
Wrap
Text File
|
1992-06-01
|
826b
|
34 lines
/*
CommandScroll.m
by Joe Freeman
Subprocess Example, Release 2.0
N&BqComputer, Inc.
You may freely copy, distribute and reuse the code in this example.
NeXT disclaims any warranty of any kind, expressed or implied, as to
its fitness for any particular use.
*/
#import <appkit/ScrollView.h>
/*
* This object sends its delegate the "userEntered:" message
* whenever new text is entered in the text object inside this ScrollView
*
*/
@interface CommandScroll:ScrollView
{
id docView;
id delegate;
int lastTextCount;
// size of the text object the last time this program played with it
id machineFont, userFont;
// so the user can distinguish what they typed from system output
}
- appendString:(char *)buffer;
// append the buffer to the end of the text object
@end