summaryrefslogtreecommitdiff
path: root/gnu/dist/gettext/gettext-tools/examples/hello-objc-gnustep/AppController.h
blob: 8f7eed4de4e117ddd04fc2ac80394529b7b351f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Example for use of GNU gettext.
   Copyright (C) 2003 Free Software Foundation, Inc.
   This file is in the public domain.

   Interface of the AppController class.  */

#include <AppKit/AppKit.h>

@class Hello;

@interface AppController : NSObject
{
  Hello *hello;
}

+ (void)initialize;

- (id)init;
- (void)dealloc;

- (void)awakeFromNib;

- (void)applicationDidFinishLaunching
    :(NSNotification *)notif;

- (BOOL)applicationShouldTerminate:(id)sender;
- (void)applicationWillTerminate:(NSNotification *)notification;

- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName;

- (void)showPrefPanel:(id)sender;
- (void)showInfoPanel:(id)sender;

- (void)showHelloWindow:(id)sender;

@end