VLCPlaylistViewController.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // VLCMasterViewController.h
  3. // AspenProject
  4. //
  5. // Created by Felix Paul Kühne on 27.02.13.
  6. // Copyright (c) 2013 VideoLAN. All rights reserved.
  7. //
  8. // Refer to the COPYING file of the official project for license.
  9. //
  10. #import <UIKit/UIKit.h>
  11. #define EXPERIMENTAL_LIBRARY 1
  12. typedef enum {
  13. VLCLibraryModeAllFiles = 0,
  14. VLCLibraryModeAllAlbums = 1,
  15. VLCLibraryModeAllSeries = 2
  16. } VLCLibraryMode;
  17. @class VLCMovieViewController;
  18. @class EmptyLibraryView;
  19. @interface VLCPlaylistViewController : UIViewController <UITabBarDelegate, UIPopoverControllerDelegate>
  20. @property (nonatomic, strong) VLCMovieViewController *movieViewController;
  21. @property (nonatomic, strong) UIViewController *menuViewController;
  22. - (IBAction)leftButtonAction:(id)sender;
  23. - (void)updateViewContents;
  24. - (void)openMovieFromURL:(NSURL *)url;
  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