VLCCloudStorageTableViewCell.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. #import <BoxSDK/BoxSDK.h>
  16. #if TARGET_OS_IOS
  17. #import "GTLDrive.h"
  18. #endif
  19. @class VLCNetworkImageView;
  20. @interface VLCCloudStorageTableViewCell : UITableViewCell
  21. @property (nonatomic, weak) id delegate;
  22. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  23. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  24. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  25. @property (nonatomic, strong) IBOutlet VLCNetworkImageView *thumbnailView;
  26. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  27. @property (nonatomic, retain) DBMetadata *dropboxFile;
  28. @property (nonatomic, retain) VLCOneDriveObject *oneDriveFile;
  29. @property (nonatomic, retain) BoxItem *boxFile;
  30. #if TARGET_OS_IOS
  31. @property (nonatomic, retain) GTLDriveFile *driveFile;
  32. #endif
  33. @property (nonatomic, readwrite) BOOL isDownloadable;
  34. + (VLCCloudStorageTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  35. + (CGFloat)heightOfCell;
  36. - (IBAction)triggerDownload:(id)sender;
  37. @end
  38. @protocol VLCCloudStorageTableViewCell <NSObject>
  39. - (void)triggerDownloadForCell:(VLCCloudStorageTableViewCell *)cell;
  40. @end