Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 71ef45e463
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.564 kb
// SGHotKeyCenter.h
// SGHotKeyCenter
// Created by Justin Williams on 7/26/09.
// Copyright 2009 Second Gear. All rights reserved.
#import <Cocoa/Cocoa.h>
@class SGHotKey;
@interface SGHotKeyCenter : NSObject {
NSMutableDictionary *hotKeys; // Keys are NSValue of EventHotKeyRef
BOOL eventHandlerInstalled;
BOOL hasInited;
+ (SGHotKeyCenter *)sharedCenter;
- (BOOL)registerHotKey:(SGHotKey *)theHotKey;
- (void)unregisterHotKey:(SGHotKey *)theHotKey;
- (NSArray *)allHotKeys;
- (SGHotKey *)hotKeyWithIdentifier:(id)theIdentifier;
Jump to Line
Something went wrong with that request. Please try again.