OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
11 #import "SkSampleNSView.h" | 11 #import "SkSampleNSView.h" |
12 #import "SkOptionsTableView.h" | 12 #import "SkOptionsTableView.h" |
13 @interface SampleAppDelegate : NSObject <NSApplicationDelegate> { | 13 @interface HelloWorldDelegate : NSObject <NSApplicationDelegate> { |
14 NSWindow* fWindow; | 14 NSWindow* fWindow; |
15 SkSampleNSView* fView; | 15 SkSampleNSView* fView; |
16 SkOptionsTableView* fOptions; | 16 SkOptionsTableView* fOptions; |
17 } | 17 } |
18 | 18 |
19 @property (assign) IBOutlet NSWindow* fWindow; | 19 @property (assign) IBOutlet NSWindow* fWindow; |
20 @property (assign) IBOutlet SkSampleNSView* fView; | 20 @property (assign) IBOutlet SkSampleNSView* fView; |
21 @property (assign) IBOutlet SkOptionsTableView* fOptions; | 21 @property (assign) IBOutlet SkOptionsTableView* fOptions; |
22 | 22 |
23 - (IBAction)toiPadSize:(id)sender; | 23 - (IBAction)toiPadSize:(id)sender; |
24 | 24 |
25 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
r; | 25 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
r; |
26 | 26 |
27 @end | 27 @end |
OLD | NEW |