source: trunk/Cocoa/F-Script Anywhere/Source/FSAController.h

Last change on this file was 450, checked in by Nicholas Riley, 12 years ago

Cleaned up preferences UI; added auto workspace opening for apps with no menubar

File size: 1.7 KB
Line 
1//
2//  FSAController.h
3//  F-Script Anywhere
4//
5//  Created by Nicholas Riley on Fri Feb 01 2002.
6//  Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9/*
10
11 F-Script Anywhere is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15
16 F-Script Anywhere is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with F-Script Anywhere; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
25*/
26
27#import <AppKit/AppKit.h>
28#import <FScript/FSInterpreterView.h>
29#import <FScript/System.h>
30
31@class FSAViewAssociationController;
32
33@interface FSAController : NSWindowController {
34    IBOutlet FSInterpreterView *interpreterView;
35    IBOutlet NSButtonCell *floatButtonCell;
36    IBOutlet NSButton *openBrowserButton;
37    IBOutlet NSButton *associateWithInterfaceButton;
38    System *system;
39    FSAViewAssociationController *viewAssociationController;
40    unsigned interpreterNum;
41   
42    NSCursor *bullseyeCursor;
43}
44
45+ (void)createInterpreterWindow:(id)sender;
46
47- (id)initShowingInterpreter:(BOOL)showInterpreter;
48
49- (IBAction)setFloating:(id)sender;
50- (IBAction)FSA_associateAndOpenBrowser:(id)sender;
51
52- (FSInterpreterView *)interpreterView;
53- (NSString *)interpreterLabel;
54- (System *)system;
55
56+ (void)installMenu;
57
58@end
Note: See TracBrowser for help on using the repository browser.