2
// SqueakOSXAppDelegate.h
5
// Created by John M McIntosh on 09-11-10.
7
Some of this code was funded via a grant from the European Smalltalk User Group (ESUG)
8
Copyright (c) 2009 Corporate Smalltalk Consulting Ltd. All rights reserved.
10
Permission is hereby granted, free of charge, to any person
11
obtaining a copy of this software and associated documentation
12
files (the "Software"), to deal in the Software without
13
restriction, including without limitation the rights to use,
14
copy, modify, merge, publish, distribute, sublicense, and/or sell
15
copies of the Software, and to permit persons to whom the
16
Software is furnished to do so, subject to the following
19
The above copyright notice and this permission notice shall be
20
included in all copies or substantial portions of the Software.
22
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
24
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
27
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
29
OTHER DEALINGS IN THE SOFTWARE.
31
The end-user documentation included with the redistribution, if any, must include the following acknowledgment:
32
"This product includes software developed by Corporate Smalltalk Consulting Ltd (http://www.smalltalkconsulting.com)
33
and its contributors", in the same place and form as other third-party acknowledgments.
34
Alternately, this acknowledgment may appear in the software itself, in the same form and location as other
35
such third-party acknowledgments.
39
#import <Cocoa/Cocoa.h>
40
#import "sqSqueakAppDelegate.h"
41
#import "sqSqueakOSXApplication.h"
42
#import "sqSqueakOSXNSView.h"
43
@protocol NSApplicationDelegate <NSObject> @end
45
@class sqSqueakMainApplication;
47
@interface SqueakOSXAppDelegate : sqSqueakAppDelegate <NSApplicationDelegate> {
49
sqSqueakOSXNSView *mainView;
50
BOOL checkForFileNameOnFirstParm;
51
NSString *possibleImageNameAtLaunchTime;
54
@property (nonatomic,assign) IBOutlet NSWindow *window;
55
@property (nonatomic,assign) IBOutlet sqSqueakOSXNSView *mainView;
56
@property (nonatomic,retain) NSString *possibleImageNameAtLaunchTime;
57
@property (nonatomic,assign) BOOL checkForFileNameOnFirstParm;