PageRenderTime 25ms CodeModel.GetById 17ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Maps/GDataEntryMapFeature.h

http://macfuse.googlecode.com/
C++ Header | 51 lines | 18 code | 13 blank | 20 comment | 1 complexity | bfbf03a4fab4dd128e56f34332690c0f MD5 | raw file
 1/* Copyright (c) 2009 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//  GDataEntryMapFeature.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
21
22#import "GDataEntryBase.h"
23#import "GDataCustomProperty.h"
24#import "GDataStructuredPostalAddress.h"
25
26@interface GDataEntryMapFeature : GDataEntryBase
27
28+ (id)featureEntryWithTitle:(NSString *)str;
29
30// extensions
31
32- (GDataStructuredPostalAddress *)postalAddress;
33- (void)setPostalAddress:(GDataStructuredPostalAddress *)obj;
34
35- (NSArray *)customProperties;
36- (void)setCustomProperties:(NSArray *)array;
37- (void)addCustomProperty:(GDataCustomProperty *)obj;
38
39// KMLValues accesses the entry's content element, which contains the KML XML
40- (NSArray *)KMLValues;
41- (void)setKMLValues:(NSArray *)arr;
42- (void)addKMLValue:(NSXMLNode *)node;
43
44// convenience accessors
45- (GDataCustomProperty *)customPropertyWithName:(NSString *)name;
46
47- (GDataLink *)viewLink;
48
49@end
50
51#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE