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

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Photos/GDataQueryGooglePhotos.h

http://macfuse.googlecode.com/
C++ Header | 69 lines | 31 code | 16 blank | 22 comment | 1 complexity | 96417b7a9e83a48baad4712d776cce29 MD5 | raw file
 1/* Copyright (c) 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//  GDataQueryGooglePhotos.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE
21
22#import "GDataDefines.h"
23
24#import "GDataQuery.h"
25
26#undef _EXTERN
27#undef _INITIALIZE_AS
28#ifdef GDATAQUERYGOOGLEPHOTOS_DEFINE_GLOBALS
29#define _EXTERN 
30#define _INITIALIZE_AS(x) =x
31#else
32#define _EXTERN GDATA_EXTERN
33#define _INITIALIZE_AS(x)
34#endif
35
36_EXTERN const NSInteger kGDataGooglePhotosImageSizeDownloadable _INITIALIZE_AS(-1);
37
38@interface GDataQueryGooglePhotos : GDataQuery 
39
40+ (GDataQueryGooglePhotos *)photoQueryWithFeedURL:(NSURL *)feedURL;
41
42+ (GDataQueryGooglePhotos *)photoQueryForUserID:(NSString *)userID
43                                        albumID:(NSString *)albumIDorNil
44                                      albumName:(NSString *)albumNameOrNil
45                                        photoID:(NSString *)photoIDorNil;
46
47- (void)setKind:(NSString *)str;
48- (NSString *)kind;
49
50- (void)setAccess:(NSString *)str;
51- (NSString *)access;
52
53- (void)setThumbsize:(NSInteger)val;
54- (NSInteger)thumbsize;
55
56// imageSize is the imgmax parameter; see documentation for legal values,
57// and explanation of which sizes may be cropped or embedded into web pages
58//
59// Pass kGDataGooglePhotosImageSizeDownloadable to specify that links should be
60// for the native download size for each photo ("imgmax=d")
61- (void)setImageSize:(NSInteger)val;
62- (NSInteger)imageSize;
63
64- (void)setTag:(NSString *)tag;
65- (NSString *)tag;
66  
67@end
68
69#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE