VLCThumbnailsCache.h 930 Bytes
Newer Older
1
2
3
4
/*****************************************************************************
 * VLCThumbnailsCache.h
 * VLC for iOS
 *****************************************************************************
5
 * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
6
7
8
9
 * $Id$
 *
 * Authors: Gleb Pinigin <gpinigin # gmail.com>
 *          Felix Paul Kühne <fkuehne # videolan.org>
10
 *          Carola Nitz <caro # videolan.org>
11
12
13
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
14
15
16

@interface VLCThumbnailsCache : NSObject

17
+ (UIImage *)thumbnailForManagedObject:(NSManagedObject *)object;
18

19
20
+ (UIImage *)thumbnailForMediaItemWithTitle:(NSString *)title Artist:(NSString*)artist andAlbumName:(NSString*)albumname;

21
22
+ (UIImage *)thumbnailForManagedObject:(NSManagedObject *)object toFitRect:(CGRect)rect shouldReplaceCache:(BOOL)replaceCache;

23
@end