VLCLocalNetworkListCell.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // VLCLocalNetworkListCell.h
  3. // VLC for iOS
  4. //
  5. // Created by Felix Paul Kühne on 10.08.13.
  6. // Copyright (c) 2013 VideoLAN. All rights reserved.
  7. //
  8. // Refer to the COPYING file of the official project for license.
  9. //
  10. #import <UIKit/UIKit.h>
  11. @class VLCStatusLabel;
  12. @interface VLCLocalNetworkListCell : UITableViewCell
  13. @property (nonatomic, weak) id delegate;
  14. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  15. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  16. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  17. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  18. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  19. @property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
  20. @property (nonatomic, readwrite) BOOL isDirectory;
  21. @property (nonatomic, retain) NSString *title;
  22. @property (nonatomic, retain) NSString *subtitle;
  23. @property (nonatomic, retain) UIImage *icon;
  24. @property (nonatomic, readwrite) BOOL isDownloadable;
  25. @property (nonatomic, retain) NSURL *downloadURL;
  26. + (VLCLocalNetworkListCell *)cellWithReuseIdentifier:(NSString *)ident;
  27. + (CGFloat)heightOfCell;
  28. - (IBAction)triggerDownload:(id)sender;
  29. @end
  30. @protocol VLCLocalNetworkListCell <NSObject>
  31. - (void)triggerDownloadForCell:(VLCLocalNetworkListCell *)cell;
  32. @end