VLCPlaylistCollectionViewCell.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*****************************************************************************
  2. * VLCPlaylistCollectionViewCell.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2018 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Tamas Timar <ttimar.vlc # gmail.com>
  10. * Gleb Pinigin <gpinigin # gmail.com>
  11. * Carola Nitz <nitz.carola # gmail.com>
  12. *
  13. * Refer to the COPYING file of the official project for license.
  14. *****************************************************************************/
  15. #import <UIKit/UIKit.h>
  16. #import "VLCLinearProgressIndicator.h"
  17. #import <VLCMediaLibraryKit/VLCMLMedia.h>
  18. @interface VLCPlaylistCollectionViewCell : UICollectionViewCell
  19. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  20. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  21. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  22. @property (nonatomic, strong) IBOutlet VLCLinearProgressIndicator *progressView;
  23. @property (nonatomic, strong) IBOutlet UIView *mediaIsUnreadView;
  24. @property (nonatomic, strong) IBOutlet UIImageView *isSelectedView;
  25. @property (nonatomic, strong) IBOutlet UIImageView *folderIconView;
  26. @property (nonatomic, strong) IBOutlet UILabel *metaDataLabel;
  27. @property (nonatomic, retain) NSManagedObject *mediaObject;
  28. @property (nonatomic, retain) VLCMLMedia *media;
  29. @property (nonatomic, weak) UICollectionView *collectionView;
  30. @property (readonly) BOOL showsMetaData;
  31. - (void)setEditing:(BOOL)editing animated:(BOOL)animated;
  32. - (void)selectionUpdate;
  33. - (void)showMetadata:(BOOL)showMeta;
  34. + (NSString *)cellIdentifier;
  35. @end