VLCMovieViewController.h 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //
  2. // VLCDetailViewController.h
  3. // AspenProject
  4. //
  5. // Created by Felix Paul Kühne on 27.02.13.
  6. // Copyright (c) 2013 VideoLAN. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
  10. {
  11. VLCMediaPlayer *_mediaPlayer;
  12. BOOL _controlsHidden;
  13. BOOL _videoFiltersHidden;
  14. BOOL _playbackViewHidden;
  15. UIActionSheet *_subtitleActionSheet;
  16. UIActionSheet *_audiotrackActionSheet;
  17. UIActionSheet *_aspectRatioActionSheet;
  18. UIActionSheet *_cropActionSheet;
  19. float _currentPlaybackRate;
  20. NSTimer *_idleTimer;
  21. }
  22. @property (nonatomic, strong) IBOutlet UIView *movieView;
  23. @property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
  24. @property (nonatomic, strong) IBOutlet UISlider *positionSlider;
  25. @property (nonatomic, strong) IBOutlet UIBarButtonItem *timeDisplay;
  26. @property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
  27. @property (nonatomic, strong) IBOutlet UIButton *bwdButton;
  28. @property (nonatomic, strong) IBOutlet UIButton *fwdButton;
  29. @property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
  30. @property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
  31. @property (nonatomic, strong) IBOutlet UIToolbar *toolbar;
  32. @property (nonatomic, strong) IBOutlet UIView *controllerPanel;
  33. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  34. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  35. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  36. @property (nonatomic, strong) IBOutlet UIView *videoFilterView;
  37. @property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
  38. @property (nonatomic, strong) IBOutlet UILabel *hueLabel;
  39. @property (nonatomic, strong) IBOutlet UISlider *hueSlider;
  40. @property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
  41. @property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
  42. @property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
  43. @property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
  44. @property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
  45. @property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
  46. @property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
  47. @property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
  48. @property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
  49. @property (nonatomic, strong) IBOutlet UIView *playbackView;
  50. @property (nonatomic, strong) IBOutlet UIButton *playbackButton;
  51. @property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
  52. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
  53. @property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
  54. @property (nonatomic, strong) IBOutlet UIButton *aspectRatioButton;
  55. @property (nonatomic, strong) IBOutlet UIButton *cropButton;
  56. @property (nonatomic, strong) MLFile *mediaItem;
  57. @property (nonatomic, strong) NSURL *url;
  58. - (IBAction)closePlayback:(id)sender;
  59. - (IBAction)positionSliderAction:(id)sender;
  60. - (IBAction)playPause;
  61. - (IBAction)backward:(id)sender;
  62. - (IBAction)forward:(id)sender;
  63. - (IBAction)switchAudioTrack:(id)sender;
  64. - (IBAction)switchSubtitleTrack:(id)sender;
  65. - (IBAction)videoFilterToggle:(id)sender;
  66. - (IBAction)videoFilterSliderAction:(id)sender;
  67. - (IBAction)playbackSpeedSliderAction:(id)sender;
  68. - (IBAction)videoDimensionAction:(id)sender;
  69. @end