PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Clients/Analytics/GDataAnalyticsConstants.h

http://google-email-uploader-mac.googlecode.com/
C++ Header | 60 lines | 30 code | 13 blank | 17 comment | 1 complexity | c906ab7b5881e048752a73455f31d18f 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//  GDataAnalyticsConstants.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import <Foundation/Foundation.h>
23
24#import "GDataDefines.h"
25
26#undef _EXTERN
27#undef _INITIALIZE_AS
28#ifdef GDATAANALYTICSCONSTANTS_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 kGDataAnalyticsDefaultServiceVersion _INITIALIZE_AS(@"2.1");
37
38_EXTERN NSString* const kGDataNamespaceAnalyticsDXP       _INITIALIZE_AS(@"http://schemas.google.com/analytics/2009");
39_EXTERN NSString* const kGDataNamespaceAnalyticsDXPPrefix _INITIALIZE_AS(@"dxp");
40
41_EXTERN NSString* const kGDataNamespaceAnalyticsGA        _INITIALIZE_AS(@"http://schemas.google.com/ga/2009");
42_EXTERN NSString* const kGDataNamespaceAnalyticsGAPrefix  _INITIALIZE_AS(@"ga");
43
44_EXTERN NSString* const kGDataMetricTypeCurrency   _INITIALIZE_AS(@"currency");
45_EXTERN NSString* const kGDataMetricTypeFloat      _INITIALIZE_AS(@"float");
46_EXTERN NSString* const kGDataMetricTypeInteger    _INITIALIZE_AS(@"integer");
47_EXTERN NSString* const kGDataMetricTypePercent    _INITIALIZE_AS(@"percent");
48_EXTERN NSString* const kGDataMetricTypeTime       _INITIALIZE_AS(@"time");
49_EXTERN NSString* const kGDataMetricTypeUSCurrency _INITIALIZE_AS(@"us_currency");
50
51_EXTERN NSString* const kGDataMatchTypeExact       _INITIALIZE_AS(@"exact");
52_EXTERN NSString* const kGDataMatchTypeHead        _INITIALIZE_AS(@"head");
53_EXTERN NSString* const kGDataMatchTypeRegex       _INITIALIZE_AS(@"regex");
54
55
56@interface GDataAnalyticsConstants : NSObject
57+ (NSDictionary *)analyticsNamespaces;
58@end
59
60#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE