-
Notifications
You must be signed in to change notification settings - Fork 22
/
Config.h
51 lines (43 loc) · 1.11 KB
/
Config.h
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
39
40
41
42
43
44
45
46
47
48
49
50
51
#define CACHING 1
#if defined (CONFIGURATION_Debug)
#define DEBUG 1
//#define DEVELOPMENT_DGS
#define PUSH_ENABLED
#define PUSH_HOST @"dgs.uberweiss.net:3000"
#define PUSH_USE_SSL NO
#define REMOTE_LOGGING
//#define INVITES_ENABLED
// set to '1' to see SGFs that test various aspects of
// the board view.
//#define TEST_GAMES 1
#endif
#if defined (CONFIGURATION_Adhoc)
#define TESTFLIGHT_UUID_TRACKING
#define PUSH_ENABLED
#define PUSH_HOST @"dgs.uberweiss.net"
#define PUSH_USE_SSL YES
#define REMOTE_LOGGING
#endif
#if defined (CONFIGURATION_Release)
#define DEVELOPMENT_USE_SSL YES
#define PUSH_ENABLED
#define PUSH_HOST @"dgs.uberweiss.net"
#define PUSH_USE_SSL YES
#endif
#ifdef DEVELOPMENT_DGS
# define SERVER_CLASS @"DGSDev"
# define DGS_USE_SSL NO
#else
# define SERVER_CLASS @"DGS"
# define DGS_USE_SSL YES
#endif
#ifdef CACHING
# import "CachingGameServer.h"
# define GenericGameServer CachingGameServer
#else
# define GenericGameServer NSClassFromString(SERVER_CLASS)
#endif
#if defined (CONFIGURATION_Release)
#define NSLog(...)
#endif
#define S(fmt, ...) [NSString stringWithFormat:(fmt), ##__VA_ARGS__]