PageRenderTime 8ms CodeModel.GetById 5ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://macfuse.googlecode.com/
C++ Header | 58 lines | 19 code | 13 blank | 26 comment | 1 complexity | f1914cb4b5fda7026513201bf5363c5f MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  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. // GDataAnalyticsGoal.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataAnalyticsDestination.h"
  21. #import "GDataAnalyticsEngagement.h"
  22. // Goal, like
  23. //
  24. // <ga:goal active='true' name='Completing Order' number='1' value='10.0'>
  25. // <ga:destination caseSensitive='false' expression='/purchaseComplete.html'
  26. // matchType='regex' step1Required='false'>
  27. // <ga:step name='View Product Categories' number='1'
  28. // path='/Apps|Accessories'/>
  29. // </ga:destination>
  30. // </ga:goal>
  31. @interface GDataAnalyticsGoal : GDataObject <GDataExtension>
  32. - (BOOL)isActive;
  33. - (void)setIsActive:(BOOL)flag;
  34. - (NSString *)name;
  35. - (void)setName:(NSString *)str;
  36. - (NSNumber *)number; // int
  37. - (void)setNumber:(NSNumber *)num;
  38. - (NSNumber *)value; // double
  39. - (void)setValue:(NSNumber *)num;
  40. - (GDataAnalyticsDestination *)destination;
  41. - (void)setDestination:(GDataAnalyticsDestination *)obj;
  42. - (GDataAnalyticsEngagement *)engagement;
  43. - (void)setEngagement:(GDataAnalyticsEngagement *)obj;
  44. @end
  45. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE