VLCPlaylistViewController.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*****************************************************************************
  2. * VLCPlaylistViewController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Gleb Pinigin <gpinigin # gmail.com>
  10. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #import <UIKit/UIKit.h>
  14. #define EXPERIMENTAL_LIBRARY 1
  15. typedef enum {
  16. VLCLibraryModeAllFiles = 0,
  17. VLCLibraryModeAllAlbums = 1,
  18. VLCLibraryModeAllSeries = 2
  19. } VLCLibraryMode;
  20. @class EmptyLibraryView;
  21. @interface VLCPlaylistViewController : UIViewController <UITabBarDelegate, UIPopoverControllerDelegate>
  22. @property (nonatomic, strong) UIViewController *menuViewController;
  23. - (IBAction)leftButtonAction:(id)sender;
  24. - (void)updateViewContents;
  25. - (void)removeMediaObject:(MLFile *)mediaObject;
  26. - (void)setLibraryMode:(VLCLibraryMode)mode;
  27. @end
  28. @interface EmptyLibraryView: UIView
  29. @property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLabel;
  30. @property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLongDescriptionLabel;
  31. @property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
  32. @end