VLCCloudStorageTableViewCell.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. @interface VLCCloudStorageTableViewCell : UITableViewCell
  16. @property (nonatomic, weak) id delegate;
  17. @property (nonatomic, strong) IBOutlet UILabel *titleLabel;
  18. @property (nonatomic, strong) IBOutlet UILabel *folderTitleLabel;
  19. @property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
  20. @property (nonatomic, strong) IBOutlet UIImageView *thumbnailView;
  21. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  22. @property (nonatomic, retain) DBMetadata *fileMetadata;
  23. @property (nonatomic, retain) GTLDriveFile *driveFile;
  24. + (VLCCloudStorageTableViewCell *)cellWithReuseIdentifier:(NSString *)ident;
  25. + (CGFloat)heightOfCell;
  26. - (IBAction)triggerDownload:(id)sender;
  27. @end
  28. @protocol VLCCloudStorageTableViewCell <NSObject>
  29. - (void)triggerDownloadForCell:(VLCCloudStorageTableViewCell *)cell;
  30. @end