ftp.nice.ch/pub/next/tools/workspace/NewFile.2.0.s.tar.gz#/NewFile2-src/Main.h

This is Main.h in view mode; [Download] [Up]

/* Generated by Interface Builder */

/*
	--------------------------------------------------------
Main handles various miscellaneous functions as well as being the application's delegate (though not the service delegate; that's Server).
	--------------------------------------------------------
*/
#import <objc/Object.h>
#import <sys/param.h>

@interface Main:Object
{
	id	protos;
	id	listener;
	id	speaker;
	id	main;
	id	server;
	char	appdir[MAXPATHLEN];
}

// Translate a prototype's name into an absolute pathname stored in fullname.
// Returns fullname.
- (char *)fullprotoname:(char *)fullname:(char *)name;

// The application's folder.
- (char *)appdir;

// Copy a file/directory.
- (int)copyfile:(char *)to:(char *)from;

// Initialization proper.
- loadstate;

// Store the defaults.
- savestate;

// Open a file by messaging the Workspace Manager.
- openinws:(char *)file;

// Open a file by messaging an application.
- openineditor:(char *)file:(char *)app;

// I'd rather discuss this.
- updateservices:sender;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.