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;
}
@endThese are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.