forked from BlueM/cliclick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cliclick_Prefix.pch
38 lines (30 loc) · 1.1 KB
/
cliclick_Prefix.pch
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
//
// Prefix header for all source files of the 'cliclick' target in the 'cliclick' project.
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
#endif
// Version or branch
#define VERSION @"4.0.1"
// Date as m/d/Y
#define RELEASEDATE @"2018-04-10"
#define MODE_REGULAR 0
#define MODE_VERBOSE 1
#define MODE_TEST 2
#define MODIFIER_SHIFT 32
#define MODIFIER_ALT 64
#define MODIFIER_SHIFT_ALT (MODIFIER_SHIFT | MODIFIER_ALT)
#define NSNUMBER_MODIFIER_SHIFT [NSNumber numberWithInt:MODIFIER_SHIFT]
#define NSNUMBER_MODIFIER_ALT [NSNumber numberWithInt:MODIFIER_ALT]
#define NSNUMBER_MODIFIER_SHIFT_ALT [NSNumber numberWithInt:MODIFIER_SHIFT_ALT]
#define KEYCODE_SHIFT 56
#define KEYCODE_ALT 58
#define CHARINFO_URL_TEMPLATE @"https://github.com/BlueM/cliclick/blob/%@/README-Characters.md"
#define HISTORY_URL @"https://www.bluem.net/jump/cliclick-versions/"
#define DONATIONS_URL @"https://www.bluem.net/jump/donations/"
#ifdef DEBUG
#define DLog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
#else
#define DLog(...) do { } while (0)
#endif