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

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Elements/GDataEntryLink.h

http://macfuse.googlecode.com/
C++ Header | 50 lines | 19 code | 12 blank | 19 comment | 0 complexity | f176585e8d679bfa97a9d65ad6750296 MD5 | raw file
 1/* Copyright (c) 2007-2008 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//  GDataEntryLink.h
18//
19
20#import "GDataObject.h"
21
22@class GDataEntryBase;
23
24// used inside GDataWhere, a link to an entry, like
25// <gd:entryLink href="http://gmail.com/jo/contacts/Jo">
26@interface GDataEntryLink : GDataObject <GDataExtension> {
27  GDataEntryBase *entry_;
28}
29
30+ (GDataEntryLink *)entryLinkWithHref:(NSString *)href
31                           isReadOnly:(BOOL)isReadOnly;
32
33- (id)initWithXMLElement:(NSXMLElement *)element
34                  parent:(GDataObject *)parent;
35
36- (NSXMLElement *)XMLElement;
37
38- (NSString *)href;
39- (void)setHref:(NSString *)str;
40
41- (BOOL)isReadOnly;
42- (void)setIsReadOnly:(BOOL)isReadOnly;
43
44- (NSString *)rel;
45- (void)setRel:(NSString *)str;
46
47- (GDataEntryBase *)entry;
48- (void)setEntry:(GDataEntryBase *)entry;
49
50@end