ftp.nice.ch/pub/next/connectivity/conferences/NetTalk.1.4b.s.tar.gz#/NetTalk_V1.4beta/XText.subproj/ErrorStream.m

This is ErrorStream.m in view mode; [Download] [Up]

#import "ErrorStream.h"
#import <appkit/Application.h>
#import <appkit/Panel.h>
#import <stdio.h>

@implementation ErrorStream

static id default_error_stream = 0;

+ default
{
	if (!default_error_stream)
		default_error_stream = [[ErrorStream allocFromZone:[NXApp zone]] init];
	return default_error_stream;
}

- report: (const STR) msg
{
	NXRunAlertPanel("Error", "%s", 0, 0, 0, msg);
	return self;
}

@end

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