VLCMovieViewController.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*****************************************************************************
  2. * VLCMovieViewController.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. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #import <MediaPlayer/MediaPlayer.h>
  14. @class OBSlider;
  15. @class VLCStatusLabel;
  16. @class VLCHorizontalSwipeGestureRecognizer;
  17. @class VLCVerticalSwipeGestureRecognizer;
  18. @interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
  19. @property (nonatomic, strong) IBOutlet UIView *movieView;
  20. @property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
  21. @property (nonatomic, strong) IBOutlet OBSlider *positionSlider;
  22. @property (nonatomic, strong) IBOutlet UIButton *timeDisplay;
  23. @property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
  24. @property (nonatomic, strong) IBOutlet UIButton *bwdButton;
  25. @property (nonatomic, strong) IBOutlet UIButton *fwdButton;
  26. @property (nonatomic, strong) IBOutlet UIView *subtitleContainer;
  27. @property (nonatomic, strong) IBOutlet UIView *audioSwitcherContainer;
  28. @property (nonatomic, strong) IBOutlet UIView *videoeffectsContainer;
  29. @property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
  30. @property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
  31. @property (nonatomic, strong) IBOutlet UIButton *repeatButton;
  32. @property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
  33. @property (nonatomic, strong) IBOutlet UIView *controllerPanel;
  34. @property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
  35. @property (nonatomic, strong) IBOutlet MPVolumeView *volumeView;
  36. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  37. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  38. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  39. @property (nonatomic, strong) IBOutlet UIView *videoFilterView;
  40. @property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
  41. @property (nonatomic, strong) IBOutlet UILabel *hueLabel;
  42. @property (nonatomic, strong) IBOutlet UISlider *hueSlider;
  43. @property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
  44. @property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
  45. @property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
  46. @property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
  47. @property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
  48. @property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
  49. @property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
  50. @property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
  51. @property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
  52. @property (nonatomic, strong) IBOutlet UIView *playbackSpeedView;
  53. @property (nonatomic, strong) IBOutlet UIButton *playbackSpeedButton;
  54. @property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
  55. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
  56. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
  57. @property (nonatomic, strong) IBOutlet UIButton *aspectRatioButton;
  58. @property (nonatomic, strong) IBOutlet UIView *scrubIndicatorView;
  59. @property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
  60. @property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;
  61. @property (nonatomic, strong) IBOutlet UILabel *artistNameLabel;
  62. @property (nonatomic, strong) IBOutlet UILabel *albumNameLabel;
  63. @property (nonatomic, strong) IBOutlet UILabel *trackNameLabel;
  64. @property (nonatomic, strong) MLFile *mediaItem;
  65. @property (nonatomic, strong) NSURL *url;
  66. - (IBAction)closePlayback:(id)sender;
  67. - (IBAction)positionSliderAction:(id)sender;
  68. - (IBAction)positionSliderTouchDown:(id)sender;
  69. - (IBAction)positionSliderTouchUp:(id)sender;
  70. - (IBAction)positionSliderDrag:(id)sender;
  71. - (IBAction)toggleTimeDisplay:(id)sender;
  72. - (IBAction)playPause;
  73. - (IBAction)backward:(id)sender;
  74. - (IBAction)forward:(id)sender;
  75. - (IBAction)toggleRepeatMode:(id)sender;
  76. - (IBAction)switchAudioTrack:(id)sender;
  77. - (IBAction)switchSubtitleTrack:(id)sender;
  78. - (IBAction)videoFilterToggle:(id)sender;
  79. - (IBAction)videoFilterSliderAction:(id)sender;
  80. - (IBAction)playbackSpeedSliderAction:(id)sender;
  81. - (IBAction)videoDimensionAction:(id)sender;
  82. @end