PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Blogger/GDataBloggerConstants.h

http://macfuse.googlecode.com/
C++ Header | 52 lines | 24 code | 11 blank | 17 comment | 1 complexity | 2bb76755e5346a83f17a7acc7bbf42ba 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//  GDataBloggerConstants.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE
21
22#import <Foundation/Foundation.h>
23
24#import "GDataDefines.h"
25
26#undef _EXTERN
27#undef _INITIALIZE_AS
28#ifdef GDATABLOGGERCONSTANTS_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 NSString* const kGDataBloggerDefaultServiceVersion _INITIALIZE_AS(@"2.0");
37
38_EXTERN NSString* const kGDataNamespaceBlogger       _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008");
39
40_EXTERN NSString* const kGDataCategoryBloggerPost    _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008/kind#post");
41_EXTERN NSString* const kGDataCategoryBloggerComment _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008/kind#comment");
42
43_EXTERN NSString* const kGDataLinkBloggerReplies     _INITIALIZE_AS(@"replies");
44_EXTERN NSString* const kGDataLinkBloggerEnclosure   _INITIALIZE_AS(@"enclosure");
45_EXTERN NSString* const kGDataLinkBloggerSettings    _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008#settings");
46_EXTERN NSString* const kGDataLinkBloggerTemplate    _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008#template");
47
48@interface GDataBloggerConstants : NSObject
49+ (NSDictionary *)bloggerNamespaces;
50@end
51
52#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE