// Created by Justin Williams on 7/26/09. // Copyright 2009 Second Gear. All rights reserved. #import <Carbon/Carbon.h> @interface SGHotKey :
NSObject { @property (nonatomic, copy) NSString *identifier; @property (nonatomic, copy) NSString *name; @property (nonatomic, retain) SGKeyCombo *keyCombo; @property (nonatomic, assign) id target; @property (nonatomic, assign) SEL action; @property (nonatomic, assign) EventHotKeyID hotKeyID; - (id)initWithIdentifier:(id)theIdentifier keyCombo:(SGKeyCombo *)theCombo; - (id)initWithIdentifier:(id)theIdentifier keyCombo:(SGKeyCombo *)theCombo target:(id)theTarget action:(SEL)theAction; - (BOOL)matchesHotKeyID:(EventHotKeyID)theKeyID;