PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Maps/GDataMapConstants.h

http://macfuse.googlecode.com/
C++ Header | 57 lines | 25 code | 14 blank | 18 comment | 1 complexity | 4f792529bd73b002667af27e9db1af25 MD5 | raw file
 1/* Copyright (c) 2009 Google Inc.
 2 *
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 *
 7 *     http://www.apache.org/licenses/LICENSE-2.0
 8 *
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16//
17//  GDataMapConstants.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
21
22#import <Foundation/Foundation.h>
23
24#import "GDataDefines.h"
25
26#undef _EXTERN
27#undef _INITIALIZE_AS
28#ifdef GDATAMAPCONSTANTS_DEFINE_GLOBALS
29#define _EXTERN
30#define _INITIALIZE_AS(x) =x
31#else
32#define _EXTERN GDATA_EXTERN
33#define _INITIALIZE_AS(x)
34#endif
35
36
37_EXTERN NSString* const kGDataMapsDefaultServiceVersion _INITIALIZE_AS(@"2.0");
38
39_EXTERN NSString* const kGDataNamespaceKML       _INITIALIZE_AS(@"http://earth.google.com/kml/2.2");
40_EXTERN NSString* const kGDataNamespaceKMLPrefix _INITIALIZE_AS(@"kml");
41
42_EXTERN NSString* const kGDataCategoryMap        _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#map");
43_EXTERN NSString* const kGDataCategoryMapFeature _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#feature");
44_EXTERN NSString* const kGDataCategoryMapVersion _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#version");
45
46_EXTERN NSString* const kGDataLinkMapView        _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#view");
47
48_EXTERN NSString* const kGDataMapPropertyAPIVisible _INITIALIZE_AS(@"api_visible");
49
50@interface GDataMapConstants : NSObject
51+ (NSDictionary *)mapsNamespaces;
52
53// temporary workaround: this namespace set has a default namespace of kml
54+ (NSDictionary *)mapsServerNamespaces;
55@end
56
57#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE