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

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

http://google-email-uploader-mac.googlecode.com/
C++ Header | 52 lines | 14 code | 11 blank | 27 comment | 1 complexity | 59ea94480bd89c46489ea742df467096 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//  GDataAnalyticsDataSource.h
18//
19
20// data source, like
21//
22//  <dxp:dataSource>
23//    <dxp:tableId>ga:179684</dxp:tableId>
24//    <dxp:tableName>www.example.net</dxp:tableName>
25//    <dxp:property name="ga:profileId" value="179684"/>
26//    <dxp:property name="ga:webPropertyId" value="UA-892159-1"/>
27//    <dxp:property name="ga:accountName" value="example"/>
28//  </dxp:dataSource>
29
30#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
31
32#import "GDataObject.h"
33
34@class GDataAnalyticsProperty;
35
36@interface GDataAnalyticsDataSource : GDataObject <GDataExtension>
37- (NSString *)tableID;
38- (void)setTableID:(NSString *)str;
39
40- (NSString *)tableName;
41- (void)setTableName:(NSString *)str;
42
43- (NSArray *)analyticsProperties;
44- (void)setAnalyticsProperties:(NSArray *)array;
45- (void)addAnalyticsProperty:(GDataAnalyticsProperty *)obj;
46
47// convenience accessors
48- (GDataAnalyticsProperty *)analyticsPropertyWithName:(NSString *)name;
49
50@end
51
52#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE