VLCAppDelegate.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*****************************************************************************
  2. * VLCAppDelegate.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Gleb Pinigin <gpinigin # gmail.com>
  10. * Jean-Romain Prévost <jr # 3on.fr>
  11. * Carola Nitz <nitz.carola # googlemail.com>
  12. * Tamas Timar <ttimar.vlc # gmail.com>
  13. *
  14. * Refer to the COPYING file of the official project for license.
  15. *****************************************************************************/
  16. #import "GHRevealViewController.h"
  17. #import "VLCMenuTableViewController.h"
  18. #import "VLCDownloadViewController.h"
  19. @class VLCPlaylistViewController;
  20. @class VLCPlayerDisplayController;
  21. extern NSString *const VLCDropboxSessionWasAuthorized;
  22. @interface VLCAppDelegate : UIResponder <UIApplicationDelegate>
  23. - (void)updateMediaList;
  24. - (void)disableIdleTimer;
  25. - (void)activateIdleTimer;
  26. - (void)networkActivityStarted;
  27. - (BOOL)haveNetworkActivity;
  28. - (void)networkActivityStopped;
  29. - (void)cleanCache;
  30. - (void)openMediaFromManagedObject:(NSManagedObject *)file;
  31. - (void)openMovieFromURL:(NSURL *)url;
  32. - (void)openMovieWithExternalSubtitleFromURL:(NSURL *)url externalSubURL:(NSString *)SubtitlePath;
  33. @property (nonatomic, readonly) VLCPlaylistViewController *playlistViewController;
  34. @property (nonatomic, readonly) VLCDownloadViewController *downloadViewController;
  35. @property (nonatomic, readonly) VLCPlayerDisplayController *playerDisplayController;
  36. @property (nonatomic, strong) UIWindow *window;
  37. @property (nonatomic, strong) GHRevealViewController *revealController;
  38. @property (nonatomic, strong) VLCMenuTableViewController *menuViewController;
  39. @property (nonatomic, readonly) BOOL passcodeValidated;
  40. @end