VLCMovieViewController.h 1.65 KB
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1 2 3 4 5 6 7 8 9 10
//
//  VLCDetailViewController.h
//  AspenProject
//
//  Created by Felix Paul Kühne on 27.02.13.
//  Copyright (c) 2013 VideoLAN. All rights reserved.
//

#import <UIKit/UIKit.h>

11
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
12 13
{
    VLCMediaPlayer *_mediaPlayer;
14

15 16
    BOOL _controlsHidden;

17 18
    UIActionSheet *_subtitleActionSheet;
    UIActionSheet *_audiotrackActionSheet;
19
}
Felix Paul Kühne's avatar
Felix Paul Kühne committed
20

21 22 23 24 25 26 27 28 29 30 31
@property (nonatomic, retain) IBOutlet UIView *movieView;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *backButton;
@property (nonatomic, retain) IBOutlet UISlider *positionSlider;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *timeDisplay;
@property (nonatomic, retain) IBOutlet UIButton *playPauseButton;
@property (nonatomic, retain) IBOutlet UIButton *bwdButton;
@property (nonatomic, retain) IBOutlet UIButton *fwdButton;
@property (nonatomic, retain) IBOutlet UIButton *subtitleSwitcherButton;
@property (nonatomic, retain) IBOutlet UIButton *audioSwitcherButton;
@property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
@property (nonatomic, retain) IBOutlet UIView *controllerPanel;
32

33
@property (nonatomic, retain) IBOutlet UIView *playingExternallyView;
34 35
@property (nonatomic, retain) IBOutlet UILabel *playingExternallyTitle;
@property (nonatomic, retain) IBOutlet UILabel *playingExternallyDescription;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
36

37
@property (nonatomic, retain) MLFile *mediaItem;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
38

39 40 41
- (IBAction)closePlayback:(id)sender;
- (IBAction)positionSliderAction:(id)sender;

42 43 44 45 46 47
- (IBAction)play:(id)sender;
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)switchAudioTrack:(id)sender;
- (IBAction)switchSubtitleTrack:(id)sender;

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