VLCCloudStorageTableViewCell.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*****************************************************************************
  2. * VLCCloudStorageTableViewCell.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Carola Nitz <nitz.carola # googlemail.com>
  10. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #import "VLCDropboxController.h"
  14. #import "VLCOneDriveObject.h"
  15. #if TARGET_OS_IOS
  16. #import "GTLDrive.h"
  17. #import <BoxSDK/BoxSDK.h>
  18. #endif
  19. @interface VLCCloudStorageTableViewCell : UITableViewCell
  20. @property (nonatomic, weak) id delegate;
  21. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  22. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  23. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  24. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  25. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  26. @property (nonatomic, retain) DBMetadata *dropboxFile;
  27. @property (nonatomic, retain) VLCOneDriveObject *oneDriveFile;
  28. #if TARGET_OS_IOS
  29. @property (nonatomic, retain) GTLDriveFile *driveFile;
  30. @property (nonatomic, retain) BoxItem *boxFile;
  31. #endif
  32. @property (nonatomic, readwrite) BOOL isDownloadable;
  33. + (VLCCloudStorageTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  34. + (CGFloat)heightOfCell;
  35. - (IBAction)triggerDownload:(id)sender;
  36. @end
  37. @protocol VLCCloudStorageTableViewCell <NSObject>
  38. - (void)triggerDownloadForCell:(VLCCloudStorageTableViewCell *)cell;
  39. @end