/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. // GDataMapConstants.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
  19. #import <Foundation/Foundation.h>
  20. #import "GDataDefines.h"
  21. #undef _EXTERN
  22. #undef _INITIALIZE_AS
  23. #ifdef GDATAMAPCONSTANTS_DEFINE_GLOBALS
  24. #define _EXTERN
  25. #define _INITIALIZE_AS(x) =x
  26. #else
  27. #define _EXTERN GDATA_EXTERN
  28. #define _INITIALIZE_AS(x)
  29. #endif
  30. _EXTERN NSString* const kGDataMapsDefaultServiceVersion _INITIALIZE_AS(@"2.0");
  31. _EXTERN NSString* const kGDataNamespaceKML _INITIALIZE_AS(@"http://earth.google.com/kml/2.2");
  32. _EXTERN NSString* const kGDataNamespaceKMLPrefix _INITIALIZE_AS(@"kml");
  33. _EXTERN NSString* const kGDataCategoryMap _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#map");
  34. _EXTERN NSString* const kGDataCategoryMapFeature _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#feature");
  35. _EXTERN NSString* const kGDataCategoryMapVersion _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#version");
  36. _EXTERN NSString* const kGDataLinkMapView _INITIALIZE_AS(@"http://schemas.google.com/maps/2008#view");
  37. _EXTERN NSString* const kGDataMapPropertyAPIVisible _INITIALIZE_AS(@"api_visible");
  38. @interface GDataMapConstants : NSObject
  39. + (NSDictionary *)mapsNamespaces;
  40. // temporary workaround: this namespace set has a default namespace of kml
  41. + (NSDictionary *)mapsServerNamespaces;
  42. @end
  43. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE