PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Media/GDataMediaRating.h

http://macfuse.googlecode.com/
C++ Header | 42 lines | 12 code | 10 blank | 20 comment | 2 complexity | dcb3d3945994821834eda0f4906f7d35 MD5 | raw file
 1/* Copyright (c) 2008 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//  GDataMediaRating.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \
21  || GDATA_INCLUDE_YOUTUBE_SERVICE
22
23#import "GDataObject.h"
24
25// like <media:rating scheme="urn:simple">adult</media:rating>
26//
27// http://search.yahoo.com/mrss
28
29@interface GDataMediaRating : GDataObject <GDataExtension> {
30}
31
32+ (GDataMediaRating *)mediaRatingWithString:(NSString *)str;
33
34- (NSString *)scheme;
35- (void)setScheme:(NSString *)str;
36
37- (NSString *)stringValue;
38- (void)setStringValue:(NSString *)str;
39
40@end
41
42#endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE