home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Examples / AppKit / Backspace / ModuleList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  733 b   |  45 lines

  1. //
  2. //  ModuleList.h
  3. //
  4. //    munged from Lennart Lovstrand's StringStorage class 
  5. //    by sam to hold all the stuff BackSpace needs
  6.  
  7. #import <objc/List.h>
  8. #import <objc/objc-load.h>
  9.  
  10. @interface ModuleInfo:Object
  11. {
  12.     id    view;
  13.     char *viewName;
  14.     char *path;
  15.     char *altPaths;
  16.     struct mach_header *header;
  17. }
  18.  
  19. - init;
  20. - initWithView:aView name:(const char *)aName path:(const char *)aPath;
  21. - setView:newView;
  22. - view;
  23. - setHeader:(struct mach_header *)h;
  24. - (struct mach_header *) header;
  25. - (const char *) viewName;
  26. - (const char *) path;
  27. - setPath: (const char *)p;
  28. - appendPath: (const char *)p;
  29. - useNextPath;
  30. - discardAltPaths;
  31. - free;
  32.  
  33. @end
  34.  
  35.  
  36. @interface ModuleList:List
  37. {
  38. }
  39.  
  40. - (const char *) nameAt: (int) i;
  41. - viewAt: (int) i;
  42. - sort;
  43.  
  44. @end
  45.