VLCMovieViewController.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. UIActionSheet *_subtitleActionSheet;
  14. UIActionSheet *_audiotrackActionSheet;
  15. }
  16. @property (nonatomic, strong) IBOutlet UIView *movieView;
  17. @property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
  18. @property (nonatomic, strong) IBOutlet UISlider *positionSlider;
  19. @property (nonatomic, strong) IBOutlet UIBarButtonItem *timeDisplay;
  20. @property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
  21. @property (nonatomic, strong) IBOutlet UIButton *bwdButton;
  22. @property (nonatomic, strong) IBOutlet UIButton *fwdButton;
  23. @property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
  24. @property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
  25. @property (nonatomic, strong) IBOutlet UIToolbar *toolbar;
  26. @property (nonatomic, strong) IBOutlet UIView *controllerPanel;
  27. @property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
  28. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
  29. @property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;
  30. @property (nonatomic, strong) MLFile *mediaItem;
  31. - (IBAction)closePlayback:(id)sender;
  32. - (IBAction)positionSliderAction:(id)sender;
  33. - (IBAction)play:(id)sender;
  34. - (IBAction)backward:(id)sender;
  35. - (IBAction)forward:(id)sender;
  36. - (IBAction)switchAudioTrack:(id)sender;
  37. - (IBAction)switchSubtitleTrack:(id)sender;
  38. @end