/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Calendar/GDataQueryCalendar.h

http://macfuse.googlecode.com/ · C++ Header · 71 lines · 26 code · 19 blank · 26 comment · 1 complexity · 6d9bba3d0e54295d8062c94b5e5c90cf MD5 · raw file

  1. /* Copyright (c) 2007 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. // GDataQueryCalendar.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
  19. // Calendar-specific query params, per
  20. // http://code.google.com/apis/calendar/reference.html#Parameters
  21. // NOTE: Events for a recurring event with recurrence exceptions (i.e. where
  22. // individual events have been modified) will be returned twice for a query,
  23. // once in the original event and once as a separate event. The separate
  24. // event occurence can be detected by examining its originalEvent; if not nil
  25. // then it will also be reported as part of the original event.
  26. #import "GDataQuery.h"
  27. @interface GDataQueryCalendar : GDataQuery
  28. + (GDataQueryCalendar *)calendarQueryWithFeedURL:(NSURL *)feedURL;
  29. - (GDataDateTime *)minimumStartTime;
  30. - (void)setMinimumStartTime:(GDataDateTime *)dateTime;
  31. - (GDataDateTime *)maximumStartTime;
  32. - (void)setMaximumStartTime:(GDataDateTime *)dateTime;
  33. - (GDataDateTime *)recurrenceExpansionStartTime;
  34. - (void)setRecurrenceExpansionStartTime:(GDataDateTime *)dateTime;
  35. - (GDataDateTime *)recurrenceExpansionEndTime;
  36. - (void)setRecurrenceExpansionEndTime:(GDataDateTime *)dateTime;
  37. // querying all future events overrides any parameters for
  38. // start-min, start-max, and recurrence expansion start and end times
  39. - (BOOL)shouldQueryAllFutureEvents;
  40. - (void)setShouldQueryAllFutureEvents:(BOOL)dateTime;
  41. - (BOOL)shouldExpandRecurrentEvents;
  42. - (void)setShouldExpandRecurrentEvents:(BOOL)dateTime;
  43. - (BOOL)shouldShowInlineComments;
  44. - (void)setShouldShowInlineComments:(BOOL)flag;
  45. - (BOOL)shouldShowHiddenEvents;
  46. - (void)setShouldShowHiddenEvents:(BOOL)flag;
  47. - (NSString *)currentTimeZoneName;
  48. - (void)setCurrentTimeZoneName:(NSString *)str;
  49. - (NSInteger)maximumAttendees;
  50. - (void)setMaximumAttendees:(NSInteger)val;
  51. @end
  52. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE