VLCPlaylistViewController.h 1.04 KB
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1
//
2 3
//  VLCPlaylistViewController.h
//  VLC for iOS
Felix Paul Kühne's avatar
Felix Paul Kühne committed
4 5 6 7
//
//  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
#define EXPERIMENTAL_LIBRARY 1

15 16 17 18 19
typedef enum {
    VLCLibraryModeAllFiles  = 0,
    VLCLibraryModeAllAlbums = 1,
    VLCLibraryModeAllSeries = 2
} VLCLibraryMode;
20

21
@class EmptyLibraryView;
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

25
@property (nonatomic, strong) UIViewController *menuViewController;
26

27 28
- (IBAction)leftButtonAction:(id)sender;

29
- (void)updateViewContents;
30
- (void)removeMediaObject:(MLFile *)mediaObject;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
31

32
- (void)setLibraryMode:(VLCLibraryMode)mode;
33

Felix Paul Kühne's avatar
Felix Paul Kühne committed
34
@end
35 36 37 38 39

@interface EmptyLibraryView: UIView

@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLabel;
@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLongDescriptionLabel;
40
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
41 42

@end