VLCPlaylistViewController.h 1.42 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 21 22
typedef enum {
    VLCLibraryModeAllFiles  = 0,
    VLCLibraryModeAllAlbums = 1,
    VLCLibraryModeAllSeries = 2
} VLCLibraryMode;
23

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

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

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

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

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

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

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

@interface EmptyLibraryView: UIView

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

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

@end