Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (28 sloc) 0.876 kB
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
1 //
2 // NTSynchronousTask.h
3 // CocoatechCore
4 //
5 // Created by Steve Gehrman on 9/29/05.
49e3d81 Major refactoring, yay.
andym authored
6 // Copyright 2005 Steve Gehrman. All rights reserved.
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
7 //
8
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
9 #ifndef NTSYNCHRONOUSTASK_H
10 #define NTSYNCHRONOUSTASK_H
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
11
12 @interface NTSynchronousTask : NSObject
13 {
d7774c0 performed a code review, specifically:
Sean McBride authored
14 @private
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
15 NSTask *mv_task;
16 NSPipe *mv_outputPipe;
17 NSPipe *mv_inputPipe;
18
19 NSData* mv_output;
20 BOOL mv_done;
21 int mv_result;
22 }
23
24 // pass nil for directory if not needed
25 // returns the result
43a0a7d @uliwitness Merge of changes from SVN repository:
uliwitness authored
26 +(int) task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input output: (NSData**)outData;
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
27
4ba453f @rudyrichter support for encrypted disk images
rudyrichter authored
28 +(NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input;
29
30 - (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input;
31 - (int)result;
32 - (NSData *)output;
33
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
34 @end
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
35
87f2893 Fixed warnings for missing newlines at the end of the file.
andym authored
36 #endif
Something went wrong with that request. Please try again.