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

http://macfuse.googlecode.com/ · C++ Header · 51 lines · 18 code · 13 blank · 20 comment · 1 complexity · bfbf03a4fab4dd128e56f34332690c0f 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. // GDataEntryMapFeature.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
  19. #import "GDataEntryBase.h"
  20. #import "GDataCustomProperty.h"
  21. #import "GDataStructuredPostalAddress.h"
  22. @interface GDataEntryMapFeature : GDataEntryBase
  23. + (id)featureEntryWithTitle:(NSString *)str;
  24. // extensions
  25. - (GDataStructuredPostalAddress *)postalAddress;
  26. - (void)setPostalAddress:(GDataStructuredPostalAddress *)obj;
  27. - (NSArray *)customProperties;
  28. - (void)setCustomProperties:(NSArray *)array;
  29. - (void)addCustomProperty:(GDataCustomProperty *)obj;
  30. // KMLValues accesses the entry's content element, which contains the KML XML
  31. - (NSArray *)KMLValues;
  32. - (void)setKMLValues:(NSArray *)arr;
  33. - (void)addKMLValue:(NSXMLNode *)node;
  34. // convenience accessors
  35. - (GDataCustomProperty *)customPropertyWithName:(NSString *)name;
  36. - (GDataLink *)viewLink;
  37. @end
  38. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE