-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathDDHotKeyUtilities.h
More file actions
14 lines (9 loc) · 912 Bytes
/
DDHotKeyUtilities.h
File metadata and controls
14 lines (9 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
DDHotKey -- DDHotKeyUtilities.h
Copyright (c) Dave DeLong <http://www.davedelong.com>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
The software is provided "as is", without warranty of any kind, including all implied warranties of merchantability and fitness. In no event shall the author(s) or copyright holder(s) be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
*/
#import <Foundation/Foundation.h>
extern NSString * _Nonnull DDStringFromKeyCode(unsigned short keyCode, NSUInteger modifiers);
extern UInt32 DDCarbonModifierFlagsFromCocoaModifiers(NSUInteger flags);