VLCMovieViewController.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 <UISplitViewControllerDelegate, VLCMediaPlayerDelegate, UIActionSheetDelegate>
  10. {
  11. VLCMediaPlayer *_mediaPlayer;
  12. UIView *_movieView;
  13. UIView *_tabBarView;
  14. UIBarButtonItem * _backButton;
  15. UISlider *_positionSlider;
  16. UIBarButtonItem *_timeDisplay;
  17. UIButton *_playPauseButton;
  18. UIButton *_bwdButton;
  19. UIButton *_fwdButton;
  20. UIButton *_subtitleSwitcherButton;
  21. UIButton *_audioSwitcherButton;
  22. UIView *_controllerPanel;
  23. BOOL _controlsHidden;
  24. UIActionSheet *_subtitleActionSheet;
  25. UIActionSheet *_audiotrackActionSheet;
  26. }
  27. @property (nonatomic, retain) IBOutlet UIView * movieView;
  28. @property (nonatomic, retain) IBOutlet UIView * tapBarView;
  29. @property (nonatomic, retain) IBOutlet UIBarButtonItem * backButton;
  30. @property (nonatomic, retain) IBOutlet UISlider * positionSlider;
  31. @property (nonatomic, retain) IBOutlet UIBarButtonItem * timeDisplay;
  32. @property (nonatomic, retain) IBOutlet UIButton * playPauseButton;
  33. @property (nonatomic, retain) IBOutlet UIButton * bwdButton;
  34. @property (nonatomic, retain) IBOutlet UIButton * fwdButton;
  35. @property (nonatomic, retain) IBOutlet UIButton * subtitleSwitcherButton;
  36. @property (nonatomic, retain) IBOutlet UIButton * audioSwitcherButton;
  37. @property (nonatomic, retain) IBOutlet UIView * controllerPanel;
  38. @property (strong, nonatomic) MLFile *mediaItem;
  39. - (IBAction)closePlayback:(id)sender;
  40. - (IBAction)positionSliderAction:(id)sender;
  41. - (IBAction)play:(id)sender;
  42. - (IBAction)backward:(id)sender;
  43. - (IBAction)forward:(id)sender;
  44. - (IBAction)switchAudioTrack:(id)sender;
  45. - (IBAction)switchSubtitleTrack:(id)sender;
  46. @end