-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMacHackAppDelegate.h
More file actions
42 lines (31 loc) · 874 Bytes
/
MacHackAppDelegate.h
File metadata and controls
42 lines (31 loc) · 874 Bytes
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
39
40
41
42
//
// MacHackAppDelegate.h
// MacHack
//
// Created by Jedediah Smith on 11-01-24.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include <ApplicationServices/ApplicationServices.h>
#import "KeyFilter.h"
#import "Console.h"
@interface MacHackAppDelegate : NSObject <NSApplicationDelegate,
NSWindowDelegate,
Console> {
NSWindow *window;
NSStatusItem *statusItem;
NSMenuItem* itemEnable;
NSMenuItem* itemConsole;
NSMenuItem* itemQuit;
KeyFilter* keyFilter;
NSWindow* consoleWindow;
NSTextView* console;
}
-(void)toggleKeyFilter;
-(void)enableKeyFilter;
-(void)disableKeyFilter;
-(void)hideConsole;
-(void)showConsole;
-(void)printToConsole:(NSString *)format, ...;
@property (assign) IBOutlet NSWindow *window;
@end