VLCDownloadViewController.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. @property (nonatomic, strong) IBOutlet UIButton *downloadButton;
  17. @property (nonatomic, strong) IBOutlet UITextField *urlField;
  18. @property (nonatomic, strong) IBOutlet UILabel *whatToDownloadHelpLabel;
  19. @property (nonatomic, strong) IBOutlet UITableView *downloadsTable;
  20. @property (nonatomic, strong) IBOutlet UIView *progressContainer;
  21. @property (nonatomic, strong) IBOutlet UIProgressView *progressView;
  22. @property (nonatomic, strong) IBOutlet UIButton *cancelButton;
  23. @property (nonatomic, strong) IBOutlet UILabel *currentDownloadLabel;
  24. @property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
  25. @property (nonatomic, strong) IBOutlet UILabel *progressPercent;
  26. @property (nonatomic, strong) IBOutlet UILabel *speedRate;
  27. @property (nonatomic, strong) IBOutlet UILabel *timeDL;
  28. - (IBAction)downloadAction:(id)sender;
  29. - (IBAction)cancelDownload:(id)sender;
  30. - (void)addURLToDownloadList:(NSURL *)aURL fileNameOfMedia:(NSString*) fileName;;
  31. @end