ftp.nice.ch/pub/next/tools/frontends/MPEGHelper.0.8.s.tar.gz#/MPEGHelper.0.8.s/Source/MiscShell+Notification.m

This is MiscShell+Notification.m in view mode; [Download] [Up]

/*
   Release 0.1  Copyleft (c)1995 by Thomas Engel.  All Rights Reserved. 

		MiscShell+Notification


		Filetype:		Category Implementation
		Stored in:		MiscShell+Notification.m				 
		Created on:		17.05.1995
		Last modified:	17.05.1995


	Class Description:
	
		For a detailed description of the interface please read the class
		documentation.

   --------------------------------------------------------------------------
*/

#import <MiscShell+Notification.h>

@implementation MiscShell (Notification)

- (BOOL)isRunning
{
	return executionInProgress;
}

- subprocess:sender done:(int)status :(MiscSubprocessEndCode)code
{
  	id	aDelegate;

	executionInProgress = NO;
    
    [self finishOutput];

	// forward if necessary.
	
	
	if( standardInput )
		aDelegate = [standardInput delegate];
	else if( standardOutput )
		aDelegate = [standardOutput delegate];
	else
		aDelegate = [standardError delegate];
		
	if( aDelegate  &&
		[aDelegate respondsTo:@selector(subprocess:done::)] )
		[aDelegate subprocess:sender done:status :code];
	
	return self;
}

@end

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