home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Connectivity / GateKeeper-2.1 / CommandScroll.h < prev    next >
Encoding:
Text File  |  1997-01-13  |  1.2 KB  |  43 lines

  1. //************************************************************************
  2. //
  3. //    Most of this code is from the CommandScroll object.  
  4. //    Numerous additions, deletions, changes and any bugs courtesy of:
  5. //
  6. //        Felipe A. Rodriguez        
  7. //
  8. //    Portions of this file were derived from:
  9. //    
  10. //            CommandScroll.m
  11. //            by Joe Freeman
  12. //            Subprocess Example, Release 2.0
  13. //            NeXT Computer, Inc.
  14. //
  15. //    This code is supplied "as is" the author makes no warranty as to its 
  16. //    suitability for any purpose.  This code is free and may be distributed 
  17. //    in accordance with the terms of the:
  18. //        
  19. //            GNU GENERAL PUBLIC LICENSE
  20. //            Version 2, June 1991
  21. //            copyright (C) 1989, 1991 Free Software Foundation, Inc.
  22. //             675 Mass Ave, Cambridge, MA 02139, USA
  23. //
  24. //************************************************************************
  25.  
  26. #import <appkit/ScrollView.h>
  27.  
  28.  
  29. @interface CommandScroll:ScrollView
  30. {
  31.     id    docView;
  32.         // size of the text object the last time this program played with it
  33.     int lastTextCount;
  34.         // so the user can distinguish what they typed from system output
  35.     id    machineFont, helvFont;
  36. }    
  37.  
  38. - appendString:(const char *)buffer;
  39.     // append the buffer to the end of the text object
  40. - appendStringUseFixedFont:(const char *)buffer;
  41.     
  42. @end
  43.