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