/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Analytics/GDataAnalyticsDestination.h

http://macfuse.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. // GDataAnalyticsDestination.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataAnalyticsStep.h"
  21. // Destination, like
  22. //
  23. // <ga:destination caseSensitive='false'
  24. // expression='/purchaseComplete.html'
  25. // matchType='regex'
  26. // step1Required='false'>
  27. // <ga:step name='View Product Categories'
  28. // number='1'
  29. // path='/Apps|Accessories'>
  30. // </ga:destination>
  31. @interface GDataAnalyticsDestination : GDataObject <GDataExtension>
  32. // Attributes
  33. - (BOOL)isCaseSensitive;
  34. - (void)setIsCaseSensitive:(BOOL)flag;
  35. - (NSString *)expression;
  36. - (void)setExpression:(NSString *)str;
  37. - (NSString *)matchType;
  38. - (void)setMatchType:(NSString *)str;
  39. - (BOOL)isStep1Required;
  40. - (void)setIsStep1Required:(BOOL)flag;
  41. // Extensions
  42. - (NSArray *)steps;
  43. - (void)setSteps:(NSArray *)array;
  44. - (void)addStep:(GDataAnalyticsStep *)obj;
  45. @end
  46. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE