PageRenderTime 28ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://google-email-uploader-mac.googlecode.com/
C++ Header | 60 lines | 17 code | 14 blank | 29 comment | 1 complexity | 4e96eb699ef396a962ff2a7bff2defa2 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//  GDataAnalyticsDestination.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataObject.h"
23#import "GDataAnalyticsStep.h"
24
25// Destination, like
26//
27//   <ga:destination caseSensitive='false'
28//          expression='/purchaseComplete.html'
29//          matchType='regex'
30//          step1Required='false'>
31//       <ga:step name='View Product Categories'
32//                number='1'
33//                path='/Apps|Accessories'>
34//   </ga:destination>
35
36@interface GDataAnalyticsDestination : GDataObject <GDataExtension>
37
38// Attributes
39
40- (BOOL)isCaseSensitive;
41- (void)setIsCaseSensitive:(BOOL)flag;
42
43- (NSString *)expression;
44- (void)setExpression:(NSString *)str;
45
46- (NSString *)matchType;
47- (void)setMatchType:(NSString *)str;
48
49- (BOOL)isStep1Required;
50- (void)setIsStep1Required:(BOOL)flag;
51
52// Extensions
53
54- (NSArray *)steps;
55- (void)setSteps:(NSArray *)array;
56- (void)addStep:(GDataAnalyticsStep *)obj;
57
58@end
59
60#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE