PageRenderTime 33ms CodeModel.GetById 20ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

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

http://macfuse.googlecode.com/
C++ Header | 54 lines | 21 code | 15 blank | 18 comment | 1 complexity | 2773b9a672894b076134877d348a6b09 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//  GDataQueryMaps.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE
21
22// Maps API query parameters
23
24#import "GDataQuery.h"
25
26@interface GDataQueryMaps : GDataQuery 
27
28+ (GDataQueryMaps *)mapsQueryWithFeedURL:(NSURL *)feedURL;
29
30- (NSString *)prevID;
31- (void)setPrevID:(NSString *)str;
32
33- (NSString *)attributeQueryString; // "mq"
34- (void)setAttributeQueryString:(NSString *)str;
35
36- (NSString *)boxString;
37- (void)setBoxString:(NSString *)str;
38- (void)setBoxWithWest:(double)west south:(double)south east:(double)east north:(double)north;
39
40- (double)latitude; // degrees
41- (void)setLatitude:(double)val;
42
43- (double)longitude; // degrees
44- (void)setLongitude:(double)val;
45
46- (double)radius; // meters
47- (void)setRadius:(double)val;
48
49- (NSString *)sortBy;
50- (void)setSortBy:(NSString *)str;
51
52@end
53
54#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_MAPS_SERVICE