/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. // GDataBloggerConstants.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE
  19. #import <Foundation/Foundation.h>
  20. #import "GDataDefines.h"
  21. #undef _EXTERN
  22. #undef _INITIALIZE_AS
  23. #ifdef GDATABLOGGERCONSTANTS_DEFINE_GLOBALS
  24. #define _EXTERN
  25. #define _INITIALIZE_AS(x) =x
  26. #else
  27. #define _EXTERN GDATA_EXTERN
  28. #define _INITIALIZE_AS(x)
  29. #endif
  30. _EXTERN NSString* const kGDataBloggerDefaultServiceVersion _INITIALIZE_AS(@"2.0");
  31. _EXTERN NSString* const kGDataNamespaceBlogger _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008");
  32. _EXTERN NSString* const kGDataCategoryBloggerPost _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008/kind#post");
  33. _EXTERN NSString* const kGDataCategoryBloggerComment _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008/kind#comment");
  34. _EXTERN NSString* const kGDataLinkBloggerReplies _INITIALIZE_AS(@"replies");
  35. _EXTERN NSString* const kGDataLinkBloggerEnclosure _INITIALIZE_AS(@"enclosure");
  36. _EXTERN NSString* const kGDataLinkBloggerSettings _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008#settings");
  37. _EXTERN NSString* const kGDataLinkBloggerTemplate _INITIALIZE_AS(@"http://schemas.google.com/blogger/2008#template");
  38. @interface GDataBloggerConstants : NSObject
  39. + (NSDictionary *)bloggerNamespaces;
  40. @end
  41. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE