VLCCloudStorageTableViewCell.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // VLCCloudStorageTableViewCell.h
  3. // VLC for iOS
  4. //
  5. // Created by Felix Paul Kühne on 24.05.13.
  6. // Modified by Carola Nitz on 07.11.13
  7. // Copyright (c) 2013 VideoLAN. All rights reserved.
  8. //
  9. // Refer to the COPYING file of the official project for license.
  10. //
  11. #import <DropboxSDK/DropboxSDK.h>
  12. #import "GTLDrive.h"
  13. @interface VLCCloudStorageTableViewCell : UITableViewCell
  14. @property (nonatomic, weak) id delegate;
  15. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  16. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  17. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  18. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  19. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  20. @property (nonatomic, retain) DBMetadata *fileMetadata;
  21. @property (nonatomic, retain) GTLDriveFile *driveFile;
  22. + (VLCCloudStorageTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  23. + (CGFloat)heightOfCell;
  24. - (IBAction)triggerDownload:(id)sender;
  25. @end
  26. @protocol VLCCloudStorageTableViewCell <NSObject>
  27. - (void)triggerDownloadForCell:(VLCCloudStorageTableViewCell *)cell;
  28. @end