/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/YouTube/GDataEntryYouTubeUserEvent.h

http://macfuse.googlecode.com/ · C++ Header · 54 lines · 17 code · 15 blank · 22 comment · 1 complexity · 0121741d976a5d12ead0b61abf080dda 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. // GDataEntryYouTubeUserEvent.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE
  19. #import "GDataEntryBase.h"
  20. #import "GDataYouTubeRating.h"
  21. @interface GDataEntryYouTubeUserEvent : GDataEntryBase
  22. + (GDataEntryYouTubeUserEvent *)userEventEntry;
  23. // event type category
  24. - (NSString *)userEventType;
  25. - (void)setUserEventType:(NSString *)typeStr;
  26. // extensions
  27. - (NSString *)videoID;
  28. - (void)setVideoID:(NSString *)str;
  29. - (NSString *)username;
  30. - (void)setUsername:(NSString *)str;
  31. // rating previously was a GDataRating element <gd:rating> but has
  32. // changed to GDataYouTubeRating <yt:rating>
  33. - (GDataYouTubeRating *)rating;
  34. - (void)setRating:(GDataYouTubeRating *)obj;
  35. // convenience accessors
  36. - (GDataLink *)videoLink;
  37. - (GDataLink *)commentLink;
  38. @end
  39. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE