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