1 /* 2 Copyright (c) 2005-2021 Intel Corporation 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // 18 // Created by Xcode* 4.3.2 19 // 20 21 #import <Foundation/Foundation.h> 22 23 #if TARGET_OS_IPHONE 24 25 #import <UIKit/UIKit.h> 26 27 @interface tbbAppDelegate : UIResponder <UIApplicationDelegate> 28 29 @property (strong, nonatomic) UIWindow *window; 30 31 @end 32 33 #elif TARGET_OS_MAC 34 35 #import <Cocoa/Cocoa.h> 36 37 @interface tbbAppDelegate : NSObject <NSApplicationDelegate>{ 38 __unsafe_unretained NSWindow *_window; 39 } 40 41 @property (assign) IBOutlet NSWindow *window; 42 43 - (BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *) sender; 44 45 @end 46 47 #endif 48