VLCPlaylistCollectionViewCell.h 1.52 KB
Newer Older
1 2 3 4
/*****************************************************************************
 * VLCPlaylistCollectionViewCell.h
 * VLC for iOS
 *****************************************************************************
5
 * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
6 7 8 9 10 11 12 13
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *          Tamas Timar <ttimar.vlc # gmail.com>
 *          Gleb Pinigin <gpinigin # gmail.com>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
14 15 16 17 18 19 20 21 22 23

#import <UIKit/UIKit.h>
#import "VLCLinearProgressIndicator.h"

@interface VLCPlaylistCollectionViewCell : UICollectionViewCell

@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
@property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
@property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
@property (nonatomic, strong) IBOutlet VLCLinearProgressIndicator *progressView;
24
@property (nonatomic, strong) IBOutlet UIView *mediaIsUnreadView;
25
@property (nonatomic, strong) IBOutlet UIImageView *isSelectedView;
26
@property (nonatomic, strong) IBOutlet UIImageView *folderIconView;
27
@property (nonatomic, strong) IBOutlet UILabel *metaDataLabel;
28 29 30 31

@property (nonatomic, retain) MLFile *mediaObject;

@property (nonatomic, weak) UICollectionView *collectionView;
32
@property (readonly) BOOL showsMetaData;
33 34

- (void)setEditing:(BOOL)editing animated:(BOOL)animated;
35
- (void)selectionUpdate;
36
- (void)shake:(BOOL)shake;
37
- (void)showMetadata:(BOOL)showMeta;
38 39

@end