VLCMovieViewController.h 3.84 KB
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1 2 3 4 5 6 7
//
//  VLCDetailViewController.h
//  AspenProject
//
//  Created by Felix Paul Kühne on 27.02.13.
//  Copyright (c) 2013 VideoLAN. All rights reserved.
//
8 9
//  Refer to the COPYING file of the official project for license.
//
Felix Paul Kühne's avatar
Felix Paul Kühne committed
10

11
#import <MediaPlayer/MediaPlayer.h>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
12

13 14 15 16 17 18
@class OBSlider;
@class VLCStatusLabel;
@class VLCHorizontalSwipeGestureRecognizer;
@class VLCVerticalSwipeGestureRecognizer;

@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
19

Felix Paul Kühne's avatar
Felix Paul Kühne committed
20 21
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
22
@property (nonatomic, strong) IBOutlet OBSlider *positionSlider;
23
@property (nonatomic, strong) IBOutlet UIButton *timeDisplay;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
24 25 26 27 28
@property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
@property (nonatomic, strong) IBOutlet UIButton *bwdButton;
@property (nonatomic, strong) IBOutlet UIButton *fwdButton;
@property (nonatomic, strong) IBOutlet UIButton *subtitleSwitcherButton;
@property (nonatomic, strong) IBOutlet UIButton *audioSwitcherButton;
29
@property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
30
@property (nonatomic, strong) IBOutlet UIView *controllerPanel;
31
@property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
32
@property (nonatomic, strong) IBOutlet MPVolumeView *volumeView;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
33 34 35 36 37

@property (nonatomic, strong) IBOutlet UIView *playingExternallyView;
@property (nonatomic, strong) IBOutlet UILabel *playingExternallyTitle;
@property (nonatomic, strong) IBOutlet UILabel *playingExternallyDescription;

38 39 40 41 42 43 44 45 46 47 48 49
@property (nonatomic, strong) IBOutlet UIView *videoFilterView;
@property (nonatomic, strong) IBOutlet UIButton *videoFilterButton;
@property (nonatomic, strong) IBOutlet UILabel *hueLabel;
@property (nonatomic, strong) IBOutlet UISlider *hueSlider;
@property (nonatomic, strong) IBOutlet UILabel *contrastLabel;
@property (nonatomic, strong) IBOutlet UISlider *contrastSlider;
@property (nonatomic, strong) IBOutlet UILabel *brightnessLabel;
@property (nonatomic, strong) IBOutlet UISlider *brightnessSlider;
@property (nonatomic, strong) IBOutlet UILabel *saturationLabel;
@property (nonatomic, strong) IBOutlet UISlider *saturationSlider;
@property (nonatomic, strong) IBOutlet UILabel *gammaLabel;
@property (nonatomic, strong) IBOutlet UISlider *gammaSlider;
50
@property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
51

52 53
@property (nonatomic, strong) IBOutlet UIView *playbackSpeedView;
@property (nonatomic, strong) IBOutlet UIButton *playbackSpeedButton;
54 55 56 57 58
@property (nonatomic, strong) IBOutlet UISlider *playbackSpeedSlider;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *playbackSpeedIndicator;
@property (nonatomic, strong) IBOutlet UIButton *aspectRatioButton;

59 60 61 62
@property (nonatomic, strong) IBOutlet UIView *scrubIndicatorView;
@property (nonatomic, strong) IBOutlet UILabel *currentScrubSpeedLabel;
@property (nonatomic, strong) IBOutlet UILabel *scrubHelpLabel;

63 64 65 66
@property (nonatomic, strong) IBOutlet UILabel *artistNameLabel;
@property (nonatomic, strong) IBOutlet UILabel *albumNameLabel;
@property (nonatomic, strong) IBOutlet UILabel *trackNameLabel;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
67
@property (nonatomic, strong) MLFile *mediaItem;
68
@property (nonatomic, strong) NSURL *url;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
69

70
- (IBAction)closePlayback:(id)sender;
71

72
- (IBAction)positionSliderAction:(id)sender;
73 74 75
- (IBAction)positionSliderTouchDown:(id)sender;
- (IBAction)positionSliderTouchUp:(id)sender;
- (IBAction)positionSliderDrag:(id)sender;
76
- (IBAction)toggleTimeDisplay:(id)sender;
77

78
- (IBAction)playPause;
79 80 81 82 83
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)switchAudioTrack:(id)sender;
- (IBAction)switchSubtitleTrack:(id)sender;

84 85 86
- (IBAction)videoFilterToggle:(id)sender;
- (IBAction)videoFilterSliderAction:(id)sender;

87 88 89
- (IBAction)playbackSpeedSliderAction:(id)sender;
- (IBAction)videoDimensionAction:(id)sender;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
90
@end