PageRenderTime 33ms CodeModel.GetById 27ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://macfuse.googlecode.com/
C++ Header | 60 lines | 32 code | 11 blank | 17 comment | 1 complexity | f7b8cd38d019576c7ca73511207b2858 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//  GDataPhotoConstants.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE
21
22#import "GDataEntryBase.h"
23
24#undef _EXTERN
25#undef _INITIALIZE_AS
26#ifdef GDATAPHOTOCONSTANTS_DEFINE_GLOBALS
27#define _EXTERN
28#define _INITIALIZE_AS(x) =x
29#else
30#define _EXTERN GDATA_EXTERN
31#define _INITIALIZE_AS(x)
32#endif
33
34_EXTERN NSString* const kGDataPhotosServiceV2 _INITIALIZE_AS(@"2.0");
35_EXTERN NSString* const kGDataPhotosDefaultServiceVersion _INITIALIZE_AS(@"2.0");
36
37_EXTERN NSString* const kGDataNamespacePhotos           _INITIALIZE_AS(@"http://schemas.google.com/photos/2007");
38_EXTERN NSString* const kGDataNamespacePhotosPrefix     _INITIALIZE_AS(@"gphoto");
39
40_EXTERN NSString* const kGDataNamespacePhotosEXIF       _INITIALIZE_AS(@"http://schemas.google.com/photos/exif/2007");
41_EXTERN NSString* const kGDataNamespacePhotosEXIFPrefix _INITIALIZE_AS(@"exif");
42
43_EXTERN NSString* const kGDataCategoryPhotosPhoto   _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#photo");
44_EXTERN NSString* const kGDataCategoryPhotosAlbum   _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#album");
45_EXTERN NSString* const kGDataCategoryPhotosUser    _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#user");
46_EXTERN NSString* const kGDataCategoryPhotosTag     _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#tag");
47_EXTERN NSString* const kGDataCategoryPhotosComment _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#comment");
48_EXTERN NSString* const kGDataCategoryPhotosPerson  _INITIALIZE_AS(@"http://schemas.google.com/photos/2007#person");
49
50_EXTERN NSString* const kGDataPhotoSnippetTypePhotoDescription _INITIALIZE_AS(@"PHOTO_DESCRIPTION");
51_EXTERN NSString* const kGDataPhotoSnippetTypePhotoTags        _INITIALIZE_AS(@"PHOTO_TAGS");
52_EXTERN NSString* const kGDataPhotoSnippetTypeAlbumTitle       _INITIALIZE_AS(@"ALBUM_TITLE");
53_EXTERN NSString* const kGDataPhotoSnippetTypeAlbumDescription _INITIALIZE_AS(@"ALBUM_DESCRIPTION");
54_EXTERN NSString* const kGDataPhotoSnippetTypeAlbumLocation    _INITIALIZE_AS(@"ALBUM_LOCATION");
55
56@interface GDataPhotoConstants : NSObject
57+ (NSDictionary *)photoNamespaces;
58@end
59
60#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE