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

http://macfuse.googlecode.com/ · C++ Header · 54 lines · 21 code · 15 blank · 18 comment · 1 complexity · 2773b9a672894b076134877d348a6b09 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. // GDataQueryMaps.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
  19. // Maps API query parameters
  20. #import "GDataQuery.h"
  21. @interface GDataQueryMaps : GDataQuery
  22. + (GDataQueryMaps *)mapsQueryWithFeedURL:(NSURL *)feedURL;
  23. - (NSString *)prevID;
  24. - (void)setPrevID:(NSString *)str;
  25. - (NSString *)attributeQueryString; // "mq"
  26. - (void)setAttributeQueryString:(NSString *)str;
  27. - (NSString *)boxString;
  28. - (void)setBoxString:(NSString *)str;
  29. - (void)setBoxWithWest:(double)west south:(double)south east:(double)east north:(double)north;
  30. - (double)latitude; // degrees
  31. - (void)setLatitude:(double)val;
  32. - (double)longitude; // degrees
  33. - (void)setLongitude:(double)val;
  34. - (double)radius; // meters
  35. - (void)setRadius:(double)val;
  36. - (NSString *)sortBy;
  37. - (void)setSortBy:(NSString *)str;
  38. @end
  39. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE