-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppController.h
38 lines (27 loc) · 931 Bytes
/
AppController.h
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
37
38
//
// $Header: /home/cvsmaster/CVSROOT/MacUtils/Kwiggly/AppController.h,v 1.8 2004/03/20 18:50:50 enno Exp $
//
// Created by Enno Brehm on Mon Jul 28 2003.
// Copyright (c) 2003 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#include <Carbon/Carbon.h>
#import "PreferenceController.h"
#import "OverlayWindow.h"
#define DEFAULT_HOTKEY (53)
#define DEFAULT_MODIFIER (cmdKey)
extern const int modifiers[];
#define MAX_MODIFIER_INDEX (2)
@interface AppController : NSResponder {
PreferenceController* preferenceController;
IBOutlet NSTextField* searchField;
IBOutlet OverlayWindow *mainWindow;
IBOutlet NSPopUpButton *popUp;
NSDictionary *defaultsDict;
}
- (IBAction) showPreferences: (id) sender;
- (IBAction) showAbout: (id) sender;
- (IBAction) executeSearch: (id) sender;
-(int)registerHotkey:(int) keycode withModifier: (int) modifier;
-(NSArray*)hotkeys;
@end