ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / Examples / iPhone / FreeFlight / FreeFlight_Prefix.pch
1 //
2 // Prefix header for all source files of the 'FreeFlight' target in the 'FreeFlight' project
3 //
4
5 #import <Availability.h>
6
7 #ifndef __IPHONE_3_0
8 #warning "This project uses features only available in iPhone SDK 3.0 and later."
9 #endif
10
11 #ifdef __OBJC__
12 #import <Foundation/Foundation.h>
13 #import <UIKit/UIKit.h>
14 #endif
15
16 #define LOGS_UPDATER
17
18 #define FTP_ADDRESS                             @"ftp://%@:%d/%@"
19 #define FTP_PORT                                5551
20 #define FTP_REPAIR_PORT                 21
21 #define TELNET_PORT                             23
22 #define SEND_BUFFER_SIZE                32768
23
24 #define ERROR_NO_ERROR                          0
25 #define ERROR_CANNOT_CONNECT_TO_TOY     1
26
27 #define FTP_MAX_RETRIES 5
28 #define TIME_BEFORE_LAUNCH      5 // in s
29
30 #define NORMAL_COLOR    [UIColor colorWithRed:217.0/255.0 green:242.0/255.0 blue:255.0/255.0 alpha:1.0]
31 #define FAIL_COLOR              [UIColor colorWithRed:255.0/255.0 green:217.0/255.0 blue:217.0/255.0 alpha:1.0]
32 #define PASS_COLOR              [UIColor colorWithRed:230.0/255.0 green:255.0/255.0 blue:217.0/255.0 alpha:1.0]
33 #define PROBLEM_COLOR   [UIColor colorWithRed:255.0/255.0 green:255.0/255.0 blue:217.0/255.0 alpha:1.0]
34
35 #define SCREEN_W                480
36 #define SCREEN_H                320
37
38 #define IPAD_SCREEN_W  1024
39 #define IPAD_SCREEN_H   768
40