VLCAppDelegate.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 "VLCMenuTableViewController.h"
  17. #import "VLCDownloadViewController.h"
  18. @class VLCPlaylistViewController;
  19. @class VLCPlayerDisplayController;
  20. extern NSString *const VLCDropboxSessionWasAuthorized;
  21. @interface VLCAppDelegate : UIResponder <UIApplicationDelegate>
  22. - (void)updateMediaList;
  23. - (void)disableIdleTimer;
  24. - (void)activateIdleTimer;
  25. - (void)networkActivityStarted;
  26. - (BOOL)haveNetworkActivity;
  27. - (void)networkActivityStopped;
  28. - (void)cleanCache;
  29. - (void)openMediaFromManagedObject:(NSManagedObject *)file;
  30. - (void)openMovieFromURL:(NSURL *)url;
  31. - (void)openMovieWithExternalSubtitleFromURL:(NSURL *)url externalSubURL:(NSString *)SubtitlePath;
  32. @property (nonatomic, readonly) VLCPlaylistViewController *playlistViewController;
  33. @property (nonatomic, readonly) VLCPlayerDisplayController *playerDisplayController;
  34. @property (nonatomic, strong) UIWindow *window;
  35. @property (nonatomic, readonly) BOOL passcodeValidated;
  36. @end