PageRenderTime 29ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://macfuse.googlecode.com/
C++ Header | 54 lines | 23 code | 12 blank | 19 comment | 1 complexity | 9a3f68124d652f3aa4f9fc5ce6a738c0 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  1. /* Copyright (c) 2011 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. // GDataEntryFreeBusy.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
  19. #import "GDataEntryCalendar.h"
  20. #import "GDataEntryCalendarEvent.h"
  21. @interface GDataCalendarWhen : GDataObject
  22. // common parent class for Busy and TimeRange classes below
  23. - (GDataWhen *)when;
  24. - (void)setWhen:(GDataWhen *)when;
  25. @end
  26. @interface GDataCalendarTimeRange : GDataCalendarWhen <GDataExtension>
  27. @end
  28. @interface GDataCalendarBusy : GDataCalendarWhen <GDataExtension>
  29. @end
  30. @interface GDataEntryFreeBusyBase : GDataEntryBase
  31. // common parent class for FreeBusy and GroupFreeBusy classes below
  32. - (GDataCalendarTimeRange *)timeRange;
  33. - (void)setTimeRange:(GDataCalendarTimeRange *)obj;
  34. - (NSArray *)busies;
  35. - (void)setBusies:(NSArray *)arr;
  36. - (void)addBusy:(GDataCalendarBusy *)obj;
  37. @end
  38. @interface GDataEntryFreeBusy : GDataEntryFreeBusyBase
  39. @end
  40. @interface GDataEntryGroupFreeBusy : GDataEntryFreeBusyBase
  41. @end
  42. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE