ftp.nice.ch/pub/next/audio/apps/MPEGHelper.0.8.s.tar.gz#/MPEGHelper.0.8.s/Source/MHFileInfoTool.m

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

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

Class:			MHFileInfoTool
Version:		0.1
File:			MHFileInfoTool.m				 

Written by:		Thomas Engel
Created:		17.05.1995	(Copyleft)
Last modified:	17.05.1995


Note:	For a detailed description please read the class documentation.

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

#import <MHFileInfoTool.h>

@implementation MHFileInfoTool

- view
{
	if( !view )
	{
		if( [NXApp loadNibSection:"FileInformation.nib" owner:self] == nil )
			NXRunAlertPanel( NULL, "Couldn't load FileInformation.nib",
							 "OK", NULL, NULL );
	}
	return [super view];
}

- image
{
	return [NXImage findImageNamed:"InfoTool"];
}

- (BOOL)canProcess:aFile for:aController
{
	// Let super prepare the data...but we will try to handle everything.

	[super canProcess:aFile for:aController];
	return YES;
}

- processInput:aPath forOutput:outPath
{
/*
	[execString setStringValue:"l3dec \""];
	[execString concatenate:filename];
	[execString cat:"\" \""];
	[execString concatenate:outputFilename];
	[execString cat:"\" -snd"];

	[shell executeScript:self];
*/
	return self;
}

- stopProcessing
{
	return self;
}

- (BOOL)isProzessing
{
	return NO;
}

@end

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