VLCMovieViewController.h 3.92 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 "VLCStatusLabel.h"
12 13
#import "VLCHorizontalSwipeGestureRecognizer.h"
#import "VLCVerticalSwipeGestureRecognizer.h"
14
#import "OBSlider.h"
15
#import <MediaPlayer/MediaPlayer.h>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
16

17
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate, VLCHorizontalSwipeGestureRecognizer, VLCVerticalSwipeGestureRecognizer>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
18

Felix Paul Kühne's avatar
Felix Paul Kühne committed
19 20
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
21
@property (nonatomic, strong) IBOutlet OBSlider *positionSlider;
22
@property (nonatomic, strong) IBOutlet UIButton *timeDisplay;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
23 24 25 26 27
@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;
28
@property (nonatomic, strong) IBOutlet UINavigationBar *toolbar;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
29
@property (nonatomic, strong) IBOutlet UIView *controllerPanel;
30
@property (nonatomic, strong) IBOutlet VLCStatusLabel *statusLabel;
31
@property (nonatomic, strong) IBOutlet MPVolumeView *volumeView;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
32 33 34 35 36

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

37 38 39 40 41 42 43 44 45 46 47 48
@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;
49
@property (nonatomic, strong) IBOutlet UIButton *resetVideoFilterButton;
50

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

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

62 63 64 65
@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
66
@property (nonatomic, strong) MLFile *mediaItem;
67
@property (nonatomic, strong) NSURL *url;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
68

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

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

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

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

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

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