This is DynamicApplication.h in view mode; [Download] [Up]
// ---------------------------------------------------------------------------- // // The following Class was written by Ed Hill (edhill@shumun.weeg.uiowa.edu) // // You are free to do whatever you want with this class, I accept no // responsibity for anything it screws up. I currently use this Class in a // number of my own applications, and it seems to be working fine, but I make // no promises. // // If you use this class, the only thing I ask for (no not money), is that you // leave my name in the source code somewhere (name a variable after me, // something like if( Ed_Hill != acompleteidiot ) would be nice). Anndddd if // you make any modification to the source to improve it, could you please // send me a copy through email (I get NeXT mail at the above address) // // ---------------------------------------------------------------------------- #import <objc/Object.h> #import <appkit/Application.h> @interface DynamicApplication:Application { int dynamicClassesNum; id dynamicClasses; struct _errorFlags { BOOL _errorOnLastLoad; BOOL _classLoaded; unsigned int _errorType; } errorFlags; struct _lastClassInfo { char *_className; } lastClassInfo; } + new; - init; - loadClass:(char *)classPath; - loadClass:(char *)classPath withName:(char *)className; - classWithName:(char *)className; - getClassNameList:(char **)classList; - (int)classesNum; - (char *)lastClassName; - lastClass; - (BOOL)errorOnLastLoad; - (unsigned int)errorType; - (BOOL)classLoaded; - removeClassWithName:(char *)className; - free; - _dynamicClassesHashTable; - _incrementDynamicClassesNum; - _decrementDynamicClassesNum; - _setLoadedClassInfo:(char *)className :(Class)aClass; - (unsigned int)_parseErrorStream:(NXStream *)aStream; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.