00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef DECARTACONFIG_H
00010 #define DECARTACONFIG_H
00011
00012 #import <Foundation/Foundation.h>
00013
00022 typedef struct {
00027 NSString * clientName;
00028
00033 NSString * clientPassword;
00034
00039 NSString * host;
00040
00048 NSString * configuration_default;
00049
00055 NSString * configuration_high_res;
00056
00062 NSString * transparentConfiguration;
00063
00067 int TILE_SIZE;
00068
00072 int TILE_THREAD_COUNT;
00073
00077 int CACHE_SIZE;
00078
00082 BOOL ONLY_CACHE_NETWORK_SLOW;
00083
00087 int ZOOM_LOWER_BOUND;
00088
00092 int ZOOM_UPPER_BOUND;
00093
00098 BOOL SNAP_TO_CLOSEST_ZOOMLEVEL;
00099
00105 double FADING_TIME;
00106
00110 BOOL ENABLE_TILT;
00111
00115 BOOL ENABLE_ROTATE;
00116
00122 int COMPASS_PLACE_LOCATION;
00123
00128 int BORDER;
00129
00138 double DECELERATE;
00139
00142 int BACKGROUND_COLOR;
00145 int BACKGROUND_GRID_COLOR;
00146
00156 int LOG_LEVEL;
00157
00161 int STATELESS_SESSION_ID;
00162
00166 NSString * IMAGE_FORMAT;
00167
00172 BOOL REAL_TIME_TRAFFIC;
00173
00177 NSString *REL;
00178
00182 NSString *SATELLITE_KEY;
00183
00184 }deCartaConfigStruct;
00185
00195 extern deCartaConfigStruct g_config;
00196
00204 @interface deCartaConfig : NSObject {
00205
00206 }
00207
00211 +(void)printConfig;
00212
00213 @end
00214
00215 #endif