VLCDownloadViewController.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*****************************************************************************
  2. * VLCDownloadViewController.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. * Gleb Pinigin <gpinigin # gmail.com>
  10. * Pierre Sagaspe <pierre.sagaspe # me.com>
  11. *
  12. * Refer to the COPYING file of the official project for license.
  13. *****************************************************************************/
  14. #import <UIKit/UIKit.h>
  15. @interface VLCDownloadViewController : UIViewController
  16. + (instancetype)sharedInstance;
  17. @property (weak, nonatomic) IBOutlet UIView *contentView;
  18. @property (weak, nonatomic) IBOutlet UIView *downloadFieldContainer;
  19. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  20. @property (nonatomic, strong) IBOutlet UITextField *urlField;
  21. @property (weak, nonatomic) IBOutlet UIView *urlBorder;
  22. @property (nonatomic, strong) IBOutlet UILabel *whatToDownloadHelpLabel;
  23. @property (nonatomic, strong) IBOutlet UITableView *downloadsTable;
  24. @property (nonatomic, strong) IBOutlet UIView *progressContainer;
  25. @property (nonatomic, strong) IBOutlet UIProgressView *progressView;
  26. @property (nonatomic, strong) IBOutlet UIButton *cancelButton;
  27. @property (nonatomic, strong) IBOutlet UILabel *currentDownloadLabel;
  28. @property (nonatomic, strong) IBOutlet UILabel *progressPercent;
  29. @property (nonatomic, strong) IBOutlet UILabel *speedRate;
  30. @property (nonatomic, strong) IBOutlet UILabel *timeDL;
  31. - (IBAction)downloadAction:(id)sender;
  32. - (IBAction)cancelDownload:(id)sender;
  33. - (void)addURLToDownloadList:(NSURL *)aURL fileNameOfMedia:(NSString*) fileName;
  34. @property (nonatomic, readonly, copy) NSString *detailText;
  35. @property (nonatomic, readonly) UIImage *cellImage;
  36. @end