-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDefinition.h
43 lines (36 loc) · 1.21 KB
/
Definition.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
//
// Definition.h
// MSCDemo
//
// Created by iflytek on 13-6-6.
// Copyright (c) 2013年 iflytek. All rights reserved.
//
#import <Foundation/Foundation.h>
#define Margin 5
#define Padding 10
#define iOS7TopMargin 64 //导航栏44,状态栏20
#define IOS7_OR_LATER ( [[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending )
#define ButtonHeight 44
#define NavigationBarHeight 44
#define APPID_VALUE @"56dc14e0"
#define URL_VALUE @"" // url
#define TIMEOUT_VALUE @"20000" // timeout 连接超时的时间,以ms为单位
#define BEST_URL_VALUE @"1" // best_search_url 最优搜索路径
#define SEARCH_AREA_VALUE @"安徽省合肥市"
#define ASR_PTT_VALUE @"1"
#define VAD_BOS_VALUE @"5000"
#define VAD_EOS_VALUE @"1800"
#define PLAIN_RESULT_VALUE @"1"
#define ASR_SCH_VALUE @"1"
#ifdef __IPHONE_6_0
# define IFLY_ALIGN_CENTER NSTextAlignmentCenter
#else
# define IFLY_ALIGN_CENTER UITextAlignmentCenter
#endif
#ifdef __IPHONE_6_0
# define IFLY_ALIGN_LEFT NSTextAlignmentLeft
#else
# define IFLY_ALIGN_LEFT UITextAlignmentLeft
#endif
@interface Definition : NSObject
@end