VLCPlaylistViewController.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. @class AQGridView;
  20. @interface VLCPlaylistViewController : UIViewController <UITabBarDelegate, UIPopoverControllerDelegate>
  21. @property (nonatomic, strong) VLCMovieViewController *movieViewController;
  22. @property (nonatomic, strong) UIViewController *menuViewController;
  23. @property (nonatomic, strong) UIPopoverController *addMediaPopoverController;
  24. @property (nonatomic, strong) UITableView *tableView;
  25. @property (nonatomic, strong) AQGridView *gridView;
  26. @property (nonatomic, strong) EmptyLibraryView *emptyLibraryView;
  27. - (IBAction)leftButtonAction:(id)sender;
  28. - (void)updateViewContents;
  29. - (void)openMovieFromURL:(NSURL *)url;
  30. - (void)removeMediaObject:(MLFile *)mediaObject;
  31. - (void)setLibraryMode:(VLCLibraryMode)mode;
  32. @end
  33. @interface EmptyLibraryView: UIView
  34. @property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLabel;
  35. @property (nonatomic, strong) IBOutlet UILabel *emptyLibraryLongDescriptionLabel;
  36. @property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
  37. @end