VLCPlaylistViewController.h 1.48 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*****************************************************************************
 * VLCPlaylistViewController.h
 * VLC for iOS
 *****************************************************************************
 * Copyright (c) 2013 VideoLAN. All rights reserved.
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *          Gleb Pinigin <gpinigin # gmail.com>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
Felix Paul Kühne's avatar
Felix Paul Kühne committed
13 14 15

#import <UIKit/UIKit.h>

16 17
#define EXPERIMENTAL_LIBRARY 1

18 19 20
typedef enum {
    VLCLibraryModeAllFiles  = 0,
    VLCLibraryModeAllAlbums = 1,
21 22
    VLCLibraryModeAllSeries = 2,
    VLCLibraryModeCreateFolder = 3
23
} VLCLibraryMode;
24

25
@class EmptyLibraryView;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
26

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

29
@property (nonatomic, strong) UIViewController *menuViewController;
30

31 32
- (IBAction)leftButtonAction:(id)sender;

33
- (void)updateViewContents;
34
- (void)removeMediaObject:(id)mediaObject updateDatabase:(BOOL)updateDB;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
35

36
- (void)setLibraryMode:(VLCLibraryMode)mode;
37

Felix Paul Kühne's avatar
Felix Paul Kühne committed
38
@end
39 40 41 42 43

@interface EmptyLibraryView: UIView

@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLabel;
@property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLongDescriptionLabel;
44
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
45 46 47
@property (nonatomic, strong) IBOutlet UIButton *learnMoreButton;

- (IBAction)learnMore:(id)sender;
48 49

@end