PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Media/GDataMediaThumbnail.h

http://google-email-uploader-mac.googlecode.com/
C++ Header | 51 lines | 17 code | 11 blank | 23 comment | 2 complexity | b504ff8a8d240d8d8c5e4824ebb9ada7 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//  GDataMediaThumbnail.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \
21  || GDATA_INCLUDE_YOUTUBE_SERVICE
22
23#import "GDataObject.h"
24#import "GDataNormalPlayTime.h"
25
26// media:thumbnail element
27//
28//   <media:thumbnail url="http://www.foo.com/keyframe.jpg" 
29//                    width="75" height="50" time="12:05:01.123" />
30//
31// http://search.yahoo.com/mrss
32
33@interface GDataMediaThumbnail : GDataObject <GDataExtension> {
34}
35
36+ (GDataMediaThumbnail *)mediaContentWithURL:(NSString *)urlString;
37
38- (NSString *)URLString;
39- (void)setURLString:(NSString *)str;
40
41- (NSNumber *)height;
42- (void)setHeight:(NSNumber *)num;
43
44- (NSNumber *)width;
45- (void)setWidth:(NSNumber *)num;
46
47- (GDataNormalPlayTime *)time;
48- (void)setTime:(GDataNormalPlayTime *)playTime;
49@end
50
51#endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE