VLCMovieViewController.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*****************************************************************************
  2. * VLCMovieViewController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2015 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. #import "VLCFrostedGlasView.h"
  15. #import "VLCPlaybackController.h"
  16. @class OBSlider;
  17. @class VLCStatusLabel;
  18. @class VLCHorizontalSwipeGestureRecognizer;
  19. @class VLCVerticalSwipeGestureRecognizer;
  20. @class VLCTimeNavigationTitleView;
  21. @interface VLCMovieViewController : UIViewController <UIActionSheetDelegate, VLCPlaybackControllerDelegate>
  22. @property (nonatomic, strong) IBOutlet UIView *movieView;
  23. @property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
  24. @property (nonatomic, strong) IBOutlet VLCTimeNavigationTitleView *timeNavigationTitleView;
  25. @property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
  26. @property (nonatomic, strong) IBOutlet UIButton *playPauseButtonLandscape;
  27. @property (nonatomic, strong) IBOutlet UIButton *bwdButton;
  28. @property (nonatomic, strong) IBOutlet UIButton *bwdButtonLandscape;
  29. @property (nonatomic, strong) IBOutlet UIButton *fwdButton;
  30. @property (nonatomic, strong) IBOutlet UIButton *fwdButtonLandscape;
  31. @property (nonatomic, strong) IBOutlet UIButton *trackSwitcherButton;
  32. @property (nonatomic, strong) IBOutlet UIButton *trackSwitcherButtonLandscape;
  33. @property (nonatomic, strong) IBOutlet UIButton *sleepTimerButton;
  34. @property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
  35. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *controllerPanel;
  36. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *controllerPanelLandscape;
  37. @property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
  38. @property (nonatomic, strong) IBOutlet MPVolumeView *volumeView;
  39. @property (nonatomic, strong) IBOutlet MPVolumeView *volumeViewLandscape;
  40. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  41. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  42. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  43. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *videoFilterView;
  44. @property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
  45. @property (nonatomic, strong) IBOutlet UIButton *videoFilterButtonLandscape;
  46. @property (nonatomic, strong) IBOutlet UILabel *hueLabel;
  47. @property (nonatomic, strong) IBOutlet UISlider *hueSlider;
  48. @property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
  49. @property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
  50. @property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
  51. @property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
  52. @property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
  53. @property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
  54. @property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
  55. @property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
  56. @property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
  57. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *playbackSpeedView;
  58. @property (nonatomic, strong) IBOutlet UIButton *playbackSpeedButton;
  59. @property (nonatomic, strong) IBOutlet UIButton *playbackSpeedButtonLandscape;
  60. @property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
  61. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
  62. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
  63. @property (nonatomic, strong) IBOutlet UISlider *audioDelaySlider;
  64. @property (nonatomic, strong) IBOutlet UILabel *audioDelayLabel;
  65. @property (nonatomic, strong) IBOutlet UILabel *audioDelayIndicator;
  66. @property (nonatomic, strong) IBOutlet UISlider *spuDelaySlider;
  67. @property (nonatomic, strong) IBOutlet UILabel *spuDelayLabel;
  68. @property (nonatomic, strong) IBOutlet UILabel *spuDelayIndicator;
  69. @property (nonatomic, strong) IBOutlet UIButton *moreActionsButton;
  70. @property (nonatomic, strong) IBOutlet VLCFrostedGlasView *scrubIndicatorView;
  71. @property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
  72. @property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;
  73. @property (nonatomic, strong) IBOutlet UILabel *artistNameLabel;
  74. @property (nonatomic, strong) IBOutlet UILabel *albumNameLabel;
  75. @property (nonatomic, strong) IBOutlet UILabel *trackNameLabel;
  76. @property (nonatomic, strong) IBOutlet UIImageView *artworkImageView;
  77. @property (nonatomic, weak) IBOutlet VLCPlaybackController *playbackController;
  78. - (IBAction)closePlayback:(id)sender;
  79. - (IBAction)positionSliderAction:(id)sender;
  80. - (IBAction)positionSliderTouchDown:(id)sender;
  81. - (IBAction)positionSliderTouchUp:(id)sender;
  82. - (IBAction)positionSliderDrag:(id)sender;
  83. - (IBAction)toggleTimeDisplay:(id)sender;
  84. - (IBAction)playPause;
  85. - (IBAction)backward:(id)sender;
  86. - (IBAction)forward:(id)sender;
  87. - (IBAction)switchTrack:(id)sender;
  88. - (IBAction)sleepTimer:(id)sender;
  89. - (IBAction)moreActions:(id)sender;
  90. - (IBAction)videoFilterToggle:(id)sender;
  91. - (IBAction)videoFilterSliderAction:(id)sender;
  92. - (IBAction)playbackSliderAction:(id)sender;
  93. - (IBAction)videoDimensionAction:(id)sender;
  94. - (void)toggleRepeatMode;
  95. - (void)toggleEqualizer;
  96. - (void)toggleUILock;
  97. - (void)toggleChapterAndTitleSelector;
  98. - (void)toggleShuffleMode;
  99. - (void)hideMenu;
  100. - (BOOL)rotationIsDisabled;
  101. @end