|
|
1.1 root 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.