PageRenderTime 29ms CodeModel.GetById 22ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/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//
17//  GDataEntryYouTubeUserEvent.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE
21
22#import "GDataEntryBase.h"
23#import "GDataYouTubeRating.h"
24
25@interface GDataEntryYouTubeUserEvent : GDataEntryBase
26
27+ (GDataEntryYouTubeUserEvent *)userEventEntry;
28
29// event type category
30
31- (NSString *)userEventType;
32- (void)setUserEventType:(NSString *)typeStr;
33
34// extensions
35
36- (NSString *)videoID;
37- (void)setVideoID:(NSString *)str;
38
39- (NSString *)username;
40- (void)setUsername:(NSString *)str;
41
42// rating previously was a GDataRating element <gd:rating> but has
43// changed to GDataYouTubeRating <yt:rating>
44- (GDataYouTubeRating *)rating;
45- (void)setRating:(GDataYouTubeRating *)obj;
46
47// convenience accessors
48
49- (GDataLink *)videoLink;
50- (GDataLink *)commentLink;
51
52@end
53
54#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE