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