This is PoolApplication.h in view mode; [Download] [Up]
/* * This Application subclass provides support for NSAutoreleasePools. * If you have an application that uses Foundation but not EOF you * need to make this class your Application class, otherwise your * application will have a lot of serious memory leaks. * * No guarantee is made for the fitness of this code for any particular * use. No warranty expressed or implied. Use at your own risk! * * Randy Tidd * NeXT Premium Developer Support */ #import <appkit/appkit.h> #import <foundation/NSAutoreleasePool.h> @interface PoolApplication : Application { NSAutoreleasePool *autoreleasePool; int disableCount; } - init; - sendEvent:(NXEvent *)event; - (int)runModalSession:(NXModalSession *)session; - (int)runModalFor:theWindow; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.