VLCCloudStorageTableViewCell.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*****************************************************************************
  2. * VLCCloudStorageTableViewCell.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013 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 <DropboxSDK/DropboxSDK.h>
  14. #import "GTLDrive.h"
  15. #import <BoxSDK/BoxSDK.h>
  16. #import "VLCOneDriveObject.h"
  17. @interface VLCCloudStorageTableViewCell : UITableViewCell
  18. @property (nonatomic, weak) id delegate;
  19. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  20. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  21. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  22. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  23. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  24. @property (nonatomic, retain) DBMetadata *fileMetadata;
  25. @property (nonatomic, retain) GTLDriveFile *driveFile;
  26. @property (nonatomic, retain) BoxItem *boxFile;
  27. @property (nonatomic, retain) VLCOneDriveObject *oneDriveFile;
  28. + (VLCCloudStorageTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  29. + (CGFloat)heightOfCell;
  30. - (IBAction)triggerDownload:(id)sender;
  31. @end
  32. @protocol VLCCloudStorageTableViewCell <NSObject>
  33. - (void)triggerDownloadForCell:(VLCCloudStorageTableViewCell *)cell;
  34. @end