home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / ClassEditor.0.4 / Source / RZBrowserCell.subproj / RZSimpleString.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-04  |  580 b   |  27 lines

  1. /* 
  2.  * RZSimpleString - a lightweight, archivable, immutable string class
  3.  *
  4.  * You may freely copy, distribute and reuse the code in this example.
  5.  * This code is provided AS IS without warranty of any kind, expressed 
  6.  * or implied, as to its fitness for any particular use.
  7.  *
  8.  * Copyright 1995 Ralph Zazula (rzazula@next.com).  All Rights Reserved.
  9.  *
  10.  */
  11.  
  12. #import <objc/Object.h>
  13.  
  14. @interface RZSimpleString : Object
  15. {
  16.     char *data;
  17. }
  18.  
  19. - init;
  20. - initWith:(const char *)format, ...;
  21. - free;
  22. - (const char *)string;
  23. - write:(NXTypedStream *)ts;
  24. - read:(NXTypedStream *)ts;
  25.  
  26. @end
  27.