aboutsummaryrefslogtreecommitdiffstats
path: root/DDHotKey/DDHotKeyUtilities.h
blob: 54b25a47574b9fea01aa5a93e9e349a4b9de3dde (plain)
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 *DDStringFromKeyCode(unsigned short keyCode, NSUInteger modifiers);
extern UInt32 DDCarbonModifierFlagsFromCocoaModifiers(NSUInteger flags);