PageRenderTime 26ms CodeModel.GetById 17ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 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//
17//  GDataEntryFreeBusy.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
21
22#import "GDataEntryCalendar.h"
23#import "GDataEntryCalendarEvent.h"
24
25@interface GDataCalendarWhen : GDataObject
26// common parent class for Busy and TimeRange classes below
27- (GDataWhen *)when;
28- (void)setWhen:(GDataWhen *)when;
29@end
30
31@interface GDataCalendarTimeRange : GDataCalendarWhen <GDataExtension>
32@end
33
34@interface GDataCalendarBusy : GDataCalendarWhen <GDataExtension>
35@end
36
37
38@interface GDataEntryFreeBusyBase : GDataEntryBase
39// common parent class for FreeBusy and GroupFreeBusy classes below
40- (GDataCalendarTimeRange *)timeRange;
41- (void)setTimeRange:(GDataCalendarTimeRange *)obj;
42
43- (NSArray *)busies;
44- (void)setBusies:(NSArray *)arr;
45- (void)addBusy:(GDataCalendarBusy *)obj;
46@end
47
48@interface GDataEntryFreeBusy : GDataEntryFreeBusyBase
49@end
50
51@interface GDataEntryGroupFreeBusy : GDataEntryFreeBusyBase
52@end
53
54#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE