VLCDropboxTableViewCell.h 997 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // VLCDropboxTableViewCell.h
  3. // VLC for iOS
  4. //
  5. // Created by Felix Paul Kühne on 24.05.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 <DropboxSDK/DropboxSDK.h>
  11. @interface VLCDropboxTableViewCell : UITableViewCell
  12. @property (nonatomic, weak) id delegate;
  13. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  14. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  15. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  16. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  17. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  18. @property (nonatomic, retain) DBMetadata *fileMetadata;
  19. + (VLCDropboxTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  20. + (CGFloat)heightOfCell;
  21. - (IBAction)triggerDownload:(id)sender;
  22. @end
  23. @protocol VLCDropboxTableViewCell <NSObject>
  24. - (void)triggerDownloadForCell:(VLCDropboxTableViewCell *)cell;
  25. @end