VLCPlaylistViewController.h 1.41 KB
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1 2 3 4 5 6 7
//
//  VLCMasterViewController.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 12

#import <UIKit/UIKit.h>

13 14 15 16 17 18
#define EXPERIMENTAL_LIBRARY 1

#define kVLCLibraryModeAllFiles 0
#define kVLCLibraryModeAllAlbums 1
#define kVLCLibraryModeAllSeries 2

19
@class VLCMovieViewController;
20
@class EmptyLibraryView;
21
@class AQGridView;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
22

23
@interface VLCPlaylistViewController : UIViewController <UITabBarDelegate, UIPopoverControllerDelegate>
Felix Paul Kühne's avatar
Felix Paul Kühne committed
24

Felix Paul Kühne's avatar
Felix Paul Kühne committed
25
@property (nonatomic, strong) VLCMovieViewController *movieViewController;
26
@property (nonatomic, strong) UIViewController *menuViewController;
27
@property (nonatomic, strong) UIPopoverController *addMediaPopoverController;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
28

29 30 31 32
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) AQGridView *gridView;

@property (nonatomic, strong) EmptyLibraryView *emptyLibraryView;
33

34 35
- (IBAction)leftButtonAction:(id)sender;

36
- (void)updateViewContents;
37
- (void)openMovieFromURL:(NSURL *)url;
38
- (void)removeMediaObject:(MLFile *)mediaObject;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
39

40 41
- (void)setLibraryMode:(NSUInteger)mode;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
42
@end
43 44 45 46 47

@interface EmptyLibraryView: UIView

@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLabel;
@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLongDescriptionLabel;
48
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
49 50

@end