home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Precognition_rel1 / StringLister.h < prev    next >
C/C++ Source or Header  |  1991-12-12  |  826b  |  37 lines

  1. /* ==========================================================================
  2. **
  3. **                         StringLister.h
  4. **
  5. ** A StringLister is an object whose primary purpose in life is to
  6. ** manage a list of strings.
  7. **
  8. ** ©1991 WILLISoft
  9. **
  10. ** ==========================================================================
  11. */
  12.  
  13. #ifndef STRINGLISTER_H
  14. #define STRINGLISTER_H
  15.  
  16. #include "Interactor.h"
  17. #include "StringList.h"
  18.  
  19.  
  20. typedef Interactor StringLister;
  21.  
  22.  
  23. BOOL AddString( StringLister *self, char *string, UBYTE qualifier );
  24.  
  25. BOOL DeleteString( StringLister *self, USHORT i );
  26.  
  27. BOOL DeleteAllStrings( StringLister *self );
  28.  
  29. const StringList *StringList_of( StringLister *self );
  30.    /*
  31.    ** IMPORTANT: Treat the returned list as *READ ONLY*
  32.    */
  33.  
  34. void SelectString( StringLister *self, USHORT i,  BOOL select );
  35.  
  36. #endif
  37.