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

http://macfuse.googlecode.com/ · C++ Header · 59 lines · 23 code · 8 blank · 28 comment · 1 complexity · 4e4074f341c9102f2e526fb8575f72fb 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. // GDataRecurrenceException.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
  19. #import "GDataObject.h"
  20. // a gd:recurrenceException link, possibly containing an entryLink or
  21. // an originalEvent
  22. //<gd:recurrenceException specialized="true">
  23. // <gd:entryLink>
  24. // <entry>
  25. // ...
  26. // http://code.google.com/apis/gdata/common-elements.html#gdRecurrenceException
  27. //
  28. // As of this writing, Feb 2007, <gd:recurrenceException> elements are in
  29. // the Google Calendar /composite/ feed, but are not in the /full/ feed.
  30. // The full feed just puts an <gd:originalEvent> directly in an <entry>.
  31. @class GDataEntryLink;
  32. @class GDataOriginalEvent;
  33. @interface GDataRecurrenceException : GDataObject <NSCopying, GDataExtension> {
  34. BOOL isSpecialized_;
  35. GDataEntryLink *entryLink_;
  36. GDataOriginalEvent *originalEvent_;
  37. }
  38. + (GDataRecurrenceException *)recurrenceExceptionWithEntryLink:(GDataEntryLink *)entryLink
  39. originalEvent:(GDataOriginalEvent *)originalEvent
  40. isSpecialized:(BOOL)isSpecialized;
  41. - (id)initWithXMLElement:(NSXMLElement *)element
  42. parent:(GDataObject *)parent;
  43. - (NSXMLElement *)XMLElement;
  44. - (BOOL)isSpecialized;
  45. - (void)setIsSpecialized:(BOOL)isSpecialized;
  46. - (GDataEntryLink *)entryLink;
  47. - (void)setEntryLink:(GDataEntryLink *)entryLink;
  48. - (GDataOriginalEvent *)originalEvent;
  49. - (void)setOriginalEvent:(GDataOriginalEvent *)originalEvent;
  50. @end
  51. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE