Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / editors / scapp / include / SCDialog.h
blob0506baf73fda034d2f606e913b67e53cf2c5911b
1 //
2 // SCDialogs.h
3 // SC3lang
4 //
5 // Created by cruxxial on Tue Dec 17 2002.
6 // Copyright (c) 2002 crucial-systems. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
11 #include "SCBase.h"
12 #include "PyrSymbol.h"
13 #include "PyrPrimitive.h"
14 #include "PyrObject.h"
15 #include "PyrKernel.h"
16 #include "VMGlobals.h"
17 #include "GC.h"
18 #include "PyrSched.h"
19 #import "SCVirtualMachine.h"
21 @interface SCDialog : NSObject {
22 PyrObject *receiver;
23 PyrObject *result;
24 NSOpenPanel *openPanel;
27 +(id)receiver:(PyrObject*)argReceiver result:(PyrObject*)argResult;
28 -(id)initWithReceiver:(PyrObject*)argReceiver result:(PyrObject*)argResult;
30 -(void)ok;
31 -(void)cancel;
32 -(void)error;
34 -(void)returnPaths:(NSArray*)urls;
35 -(void)getPaths:(BOOL)allowsMultiple;
36 -(void)returnPath:(NSString*)path;
39 // call method on self when SCVM is ready for sclang usage
40 -(void)scvmDeferWithSelector:(SEL)selector;
43 @end