commit | author | age
|
dcdc07
|
1 |
// |
W |
2 |
// GHWConstants.h |
|
3 |
// GHWSdk |
|
4 |
// |
|
5 |
// Created by GHW-T-01 on 15/5/21. |
|
6 |
// Copyright (c) 2015年 Wuyx. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#ifndef WA_Constants_h |
|
12 |
#define WA_Constants_h |
|
13 |
|
|
14 |
|
|
15 |
extern NSString *const WA_MODULE_USR;//用户模块 |
|
16 |
extern NSString *const WA_MODULE_PAY;//支付模块 |
|
17 |
extern NSString *const WA_MODULE_TRA;//数据收集模块 |
|
18 |
extern NSString *const WA_MODULE_SOC;//社交模块 |
|
19 |
extern NSString *const WA_MODULE_APW;//应用墙模块 |
|
20 |
extern NSString *const WA_MODULE_CORE;//公共模块 |
|
21 |
extern NSString *const WA_MODULE_HUP;//热更新模块 |
537198
|
22 |
extern NSString *const WA_MODULE_PUSH;//热更新模块 |
dcdc07
|
23 |
|
W |
24 |
extern NSString *const WA_PLATFORM_FACEBOOK; |
|
25 |
extern NSString *const WA_PLATFORM_APPLE; |
|
26 |
extern NSString *const WA_PLATFORM_APPSFLYER; |
|
27 |
extern NSString *const WA_PLATFORM_CHARTBOOST; |
|
28 |
extern NSString *const WA_PLATFORM_WEBPAY; |
|
29 |
extern NSString *const WA_PLATFORM_WINGA; |
|
30 |
extern NSString *const WA_PLATFORM_BOACOMPRA; |
|
31 |
extern NSString *const WA_PLATFORM_VK; |
|
32 |
extern NSString *const WA_PLATFORM_WECHAT; |
cf3302
|
33 |
extern NSString *const WA_PLATFORM_HUP; |
H |
34 |
extern NSString *const WA_PLATFORM_APW; |
537198
|
35 |
extern NSString *const WA_PLATFORM_PUSH; |
dcdc07
|
36 |
|
W |
37 |
|
|
38 |
extern NSString *const WA_CONSTANT_GUEST; |
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
extern NSString *const WA_XML_NODE_CONFIG; |
|
43 |
extern NSString *const WA_XML_NODE_VERSION; |
|
44 |
extern NSString *const WA_XML_NODE_SUPPORTS; |
|
45 |
extern NSString *const WA_XML_NODE_COMP; |
|
46 |
|
|
47 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VAL; |
|
48 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_MODULE; |
|
49 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_PLAF; |
|
50 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VALUE; |
|
51 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_DESC; |
|
52 |
|
|
53 |
//登录流程 |
|
54 |
extern const int WA_LOGIN_FLOW_TYPE_DEFAULT; |
|
55 |
extern const int WA_LOGIN_FLOW_TYPE_REBIND; |
|
56 |
|
|
57 |
//facebook permission |
|
58 |
extern NSString *const WA_FB_PERMISSION_PUBLIC_PROFILE; |
|
59 |
extern NSString *const WA_FB_PERMISSION_PUBLISH_ACTIONS; |
|
60 |
extern NSString *const WA_FB_PERMISSION_USER_FRIENDS; |
|
61 |
extern NSString *const WA_FB_PERMISSION_EMAIL; |
|
62 |
|
|
63 |
|
|
64 |
//facebook action type |
|
65 |
extern NSString *const WA_FB_ACTION_TYPE_NONE; |
|
66 |
extern NSString *const WA_FB_ACTION_TYPE_SEND; |
|
67 |
extern NSString *const WA_FB_ACTION_TYPE_ASKFOR; |
|
68 |
extern NSString *const WA_FB_ACTION_TYPE_INVITE; |
|
69 |
|
|
70 |
extern NSString *const WA_REQUEST_TYPE_SEND; |
|
71 |
extern NSString *const WA_REQUEST_TYPE_ASKFOR; |
|
72 |
extern NSString *const WA_REQUEST_TYPE_INVITE; |
|
73 |
extern NSString *const WA_REQUEST_TYPE_REQUEST; |
|
74 |
|
|
75 |
|
|
76 |
extern NSString *const WA_APPLE_IAPResultNotification; |
|
77 |
|
|
78 |
//下面四个通知分别是绑定成功、绑定失败、解绑成功、解绑失败。当绑定有结果之后(无论成功失败),将回传一个WABindingResult实例。当解绑有结果(无论成功失败),将回传一个WAAccount实例。 |
|
79 |
extern NSString *const WABindDidSucceedNotification;//绑定成功 |
|
80 |
extern NSString *const WABindDidFailNotification;//绑定失败 |
|
81 |
extern NSString *const WAUnbindDidSucceedNotification;//解绑成功 |
|
82 |
extern NSString *const WAUnbindDidFailNotification;//解绑失败 |
|
83 |
|
|
84 |
// SDK类型 |
|
85 |
extern const int WA_SDK_TYPE_FR; // 国外 |
|
86 |
extern const int WA_SDK_TYPE_CN; // 国内 |
|
87 |
|
|
88 |
@interface WAConstants : NSObject { |
|
89 |
|
|
90 |
} |
|
91 |
#endif |
|
92 |
@end |