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

Class:			PHFileInfoTool
Version:		0.1
File:			PHFileInfoTool.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 < PHFileInfoTool.h>

@implementation PHFileInfoTool

- 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