VLCMovieViewController.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. UIActionSheet *_subtitleActionSheet;
  15. UIActionSheet *_audiotrackActionSheet;
  16. NSTimer *_idleTimer;
  17. }
  18. @property (nonatomic, strong) IBOutlet UIView *movieView;
  19. @property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
  20. @property (nonatomic, strong) IBOutlet UISlider *positionSlider;
  21. @property (nonatomic, strong) IBOutlet UIBarButtonItem *timeDisplay;
  22. @property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
  23. @property (nonatomic, strong) IBOutlet UIButton *bwdButton;
  24. @property (nonatomic, strong) IBOutlet UIButton *fwdButton;
  25. @property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
  26. @property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
  27. @property (nonatomic, strong) IBOutlet UIToolbar *toolbar;
  28. @property (nonatomic, strong) IBOutlet UIView *controllerPanel;
  29. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  30. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  31. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  32. @property (nonatomic, strong) IBOutlet UIView *videoFilterView;
  33. @property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
  34. @property (nonatomic, strong) IBOutlet UILabel *hueLabel;
  35. @property (nonatomic, strong) IBOutlet UISlider *hueSlider;
  36. @property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
  37. @property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
  38. @property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
  39. @property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
  40. @property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
  41. @property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
  42. @property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
  43. @property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
  44. @property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
  45. @property (nonatomic, strong) MLFile *mediaItem;
  46. @property (nonatomic, strong) NSURL *url;
  47. - (IBAction)closePlayback:(id)sender;
  48. - (IBAction)positionSliderAction:(id)sender;
  49. - (IBAction)play:(id)sender;
  50. - (IBAction)backward:(id)sender;
  51. - (IBAction)forward:(id)sender;
  52. - (IBAction)switchAudioTrack:(id)sender;
  53. - (IBAction)switchSubtitleTrack:(id)sender;
  54. - (IBAction)videoFilterToggle:(id)sender;
  55. - (IBAction)videoFilterSliderAction:(id)sender;
  56. @end