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

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/WebmasterTools/GDataWebmasterToolsConstants.h

http://macfuse.googlecode.com/
C++ Header | 87 lines | 54 code | 16 blank | 17 comment | 1 complexity | 6a9175cf08d77c0dbbfbecb8fd0b6102 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//  GDataWebmasterToolsConstants.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE
21
22#import <Foundation/Foundation.h>
23
24#import "GDataDefines.h"
25
26#undef _EXTERN
27#undef _INITIALIZE_AS
28#ifdef GDATAWEBMASTERTOOLS_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 kGDataWebmasterToolsServiceV2 _INITIALIZE_AS(@"2.0");
37_EXTERN NSString* const kGDataWebmasterToolsDefaultServiceVersion _INITIALIZE_AS(@"2.0");
38
39_EXTERN NSString* const kGDataNamespaceWebmasterTools       _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007");
40_EXTERN NSString* const kGDataNamespaceWebmasterToolsPrefix _INITIALIZE_AS(@"wt");
41
42_EXTERN NSString* const kGDataCategorySiteInfo         _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#site-info");
43_EXTERN NSString* const kGDataCategorySitesFeed        _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sites-feed");
44_EXTERN NSString* const kGDataCategorySitemapsFeed     _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sitemaps-feed");
45_EXTERN NSString* const kGDataCategorySitemapRegular   _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sitemap-regular");
46_EXTERN NSString* const kGDataCategorySitemapMobile    _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sitemap-mobile");
47_EXTERN NSString* const kGDataCategorySitemapNews      _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sitemap-news");
48_EXTERN NSString* const kGDataCategorySiteMessage      _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#message");
49_EXTERN NSString* const kGDataCategorySiteMessagesFeed _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#messages-feed");
50_EXTERN NSString* const kGDataCategorySiteKeyword      _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#keyword_entry");
51_EXTERN NSString* const kGDataCategorySiteCrawlIssue   _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#crawl_issue_entry");
52
53_EXTERN NSString* const kGDataSiteVerificationRel    _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#verification");
54_EXTERN NSString* const kGDataSiteSitemapsRel        _INITIALIZE_AS(@"http://schemas.google.com/webmasters/tools/2007#sitemaps");
55
56_EXTERN NSString* const kGDataSiteCrawlRateSlowest                  _INITIALIZE_AS(@"slowest");
57_EXTERN NSString* const kGDataSiteCrawlRateSlower                   _INITIALIZE_AS(@"slowest");
58_EXTERN NSString* const kGDataSiteCrawlRateNormal                   _INITIALIZE_AS(@"normal");
59_EXTERN NSString* const kGDataSiteCrawlRateFaster                   _INITIALIZE_AS(@"faster");
60_EXTERN NSString* const kGDataSiteCrawlRateFastest                  _INITIALIZE_AS(@"fastest");
61
62_EXTERN NSString* const kGDataSiteCrawlPreferredDomainNone          _INITIALIZE_AS(@"none");
63_EXTERN NSString* const kGDataSiteCrawlPreferredDomainWWW           _INITIALIZE_AS(@"preferwww");
64_EXTERN NSString* const kGDataSiteCrawlPreferredDomainNoWWW         _INITIALIZE_AS(@"prefernowww");
65
66_EXTERN NSString* const kGDataSiteKeywordInternal                   _INITIALIZE_AS(@"internal");
67_EXTERN NSString* const kGDataSiteKeywordExternal                   _INITIALIZE_AS(@"external");
68
69_EXTERN NSString* const kGDataSiteCrawlTypeMobileCHTML              _INITIALIZE_AS(@"mobile-cHTML-crawl");
70_EXTERN NSString* const kGDataSiteCrawlTypeMobileXHTMLWML           _INITIALIZE_AS(@"mobile-XHTML-WML-crawl");
71_EXTERN NSString* const kGDataSiteCrawlTypeNews                     _INITIALIZE_AS(@"news-crawl");
72_EXTERN NSString* const kGDataSiteCrawlTypeWeb                      _INITIALIZE_AS(@"web-crawl");
73
74_EXTERN NSString* const kGDataSiteCrawlIssueTypeHTTPError           _INITIALIZE_AS(@"http-error");
75_EXTERN NSString* const kGDataSiteCrawlIssueTypeInSitemap           _INITIALIZE_AS(@"in-sitemap");
76_EXTERN NSString* const kGDataSiteCrawlIssueTypeNewsError           _INITIALIZE_AS(@"news-error");
77_EXTERN NSString* const kGDataSiteCrawlIssueTypeNotFollowed         _INITIALIZE_AS(@"not-followed");
78_EXTERN NSString* const kGDataSiteCrawlIssueTypeNotFound            _INITIALIZE_AS(@"not-found");
79_EXTERN NSString* const kGDataSiteCrawlIssueTypeRestrictedRobotsTxt _INITIALIZE_AS(@"restricted-robots-txt");
80_EXTERN NSString* const kGDataSiteCrawlIssueTypeTimedOut            _INITIALIZE_AS(@"timed-out");
81_EXTERN NSString* const kGDataSiteCrawlIssueTypeUnreachable         _INITIALIZE_AS(@"unreachable");
82
83@interface GDataWebmasterToolsConstants : NSObject
84+ (NSDictionary *)webmasterToolsNamespaces;
85@end
86
87#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE