PageRenderTime 28ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 1ms

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