class library: Spawner - don't access PriorityQueue-array
[supercollider.git] / editors / scapp / iPhone / iSCLangController.h
blob5bbea6708a858ccc8bbd8f292bd5751ba26963c1
1 //
2 // iSCLangController.h
3 // isclang
4 //
5 // Created by Axel Balley on 26/10/08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import <UIKit/UIKit.h>
10 #import <MediaPlayer/MediaPlayer.h>
11 #import "FileBrowserViewController.h"
12 #import "LiveCodingViewController.h"
13 #import "iPhoneSCNSWindow.h"
15 @interface iSCLangController : NSObject {
16 UInt32 routeOverride;
17 NSTimer *appClockTimer;
18 NSTimer *deferredTaskTimer;
19 NSMutableArray *deferredOperations;
21 MPMoviePlayerController *recordingPlayer;
23 IBOutlet UITabBarController *tabBarController;
24 IBOutlet UITextView *logView;
25 IBOutlet FileBrowserViewController *browserViewController;
26 IBOutlet LiveCodingViewController *liveViewController;
27 IBOutlet UIBarButtonItem *speakersButton;
30 @property UInt32 routeOverride;
32 + (iSCLangController *) sharedInstance;
33 - (void) start:(id)arg;
34 - (void) selectFile:(NSString *)string;
35 - (void) selectPatch:(NSString *)string;
36 - (void) selectRecording:(NSString *)string;
37 - (void) interpret:(NSString *)string;
38 - (void) doClockTask:(NSTimer*) timer;
39 - (IBAction) triggerStop:(id)sender;
40 - (UITextView *) logView;
41 - (UIBarButtonItem *) speakersButton;
42 - (IBAction) toggleSpeakers:(id)sender;
44 - (void) insertWindow:(SCNSWindow *)window;
45 - (void) makeWindowFront:(SCNSWindow *)window;
46 - (void) closeWindow:(SCNSWindow *)window;
47 - (void)defer: (NSInvocation*) action;
48 - (void)performDeferredOperations;
49 - (void)removeDeferredOperationsFor:(id) object;
51 @end