Files
Sparkle/NTSynchronousTask.h
T
andym 87f28934fe Fixed warnings for missing newlines at the end of the file.
Replaced use of SystemVersion.plist with Gestalt()
2007-12-30 05:48:11 +00:00

30 lines
577 B
Objective-C

//
// NTSynchronousTask.h
// CocoatechCore
//
// Created by Steve Gehrman on 9/29/05.
// Copyright 2005 __MyCompanyName__. All rights reserved.
//
#ifndef NTSYNCHRONOUSTASK_H
#define NTSYNCHRONOUSTASK_H
@interface NTSynchronousTask : NSObject
{
NSTask *mv_task;
NSPipe *mv_outputPipe;
NSPipe *mv_inputPipe;
NSData* mv_output;
BOOL mv_done;
int mv_result;
}
// pass nil for directory if not needed
// returns the result
+ (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input;
@end
#endif