PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

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