1 /* Example for use of GNU gettext. 2 Copyright (C) 2003 Free Software Foundation, Inc. 3 This file is in the public domain. 4 5 Interface of the AppController class. */ 6 7 #include <AppKit/AppKit.h> 8 9 @class Hello; 10 11 @interface AppController : NSObject 12 { 13 Hello *hello; 14 } 15 16 + (void)initialize; 17 18 - (id)init; 19 - (void)dealloc; 20 21 - (void)awakeFromNib; 22 23 - (void)applicationDidFinishLaunching 24 :(NSNotification *)notif; 25 26 - (BOOL)applicationShouldTerminate:(id)sender; 27 - (void)applicationWillTerminate:(NSNotification *)notification; 28 29 - (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName; 30 31 - (void)showPrefPanel:(id)sender; 32 - (void)showInfoPanel:(id)sender; 33 34 - (void)showHelloWindow:(id)sender; 35 36 @end 37