File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Backspace / ModuleList.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:30 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

//
//  ModuleList.h
//
//	munged from Lennart Lovstrand's StringStorage class 
//	by sam to hold all the stuff BackSpace needs

#import <objc/List.h>
#import <objc/objc-load.h>

@interface ModuleInfo:Object
{
	id	view;
	char *viewName;
	char *path;
	char *altPaths;
	struct mach_header *header;
}

- init;
- initWithView:aView name:(const char *)aName path:(const char *)aPath;
- setView:newView;
- view;
- setHeader:(struct mach_header *)h;
- (struct mach_header *) header;
- (const char *) viewName;
- (const char *) path;
- setPath: (const char *)p;
- appendPath: (const char *)p;
- useNextPath;
- discardAltPaths;
- free;

@end


@interface ModuleList:List
{
}

- (const char *) nameAt: (int) i;
- viewAt: (int) i;
- sort;

@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.