VLCAppDelegate.h 2.36 KB
Newer Older
1 2 3 4
/*****************************************************************************
 * VLCAppDelegate.h
 * VLC for iOS
 *****************************************************************************
Felix Paul Kühne's avatar
Felix Paul Kühne committed
5
 * Copyright (c) 2013-2014 VideoLAN. All rights reserved.
6 7 8 9 10 11
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *          Gleb Pinigin <gpinigin # gmail.com>
 *          Jean-Romain Prévost <jr # 3on.fr>
 *          Carola Nitz <nitz.carola # googlemail.com>
12
 *          Tamas Timar <ttimar.vlc # gmail.com>
13 14 15
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
Felix Paul Kühne's avatar
Felix Paul Kühne committed
16

17
#import "VLCDropboxTableViewController.h"
Carola Nitz's avatar
Carola Nitz committed
18
#import "VLCGoogleDriveTableViewController.h"
Felix Paul Kühne's avatar
Felix Paul Kühne committed
19
#import "VLCOneDriveTableViewController.h"
20
#import "VLCHTTPUploaderController.h"
21
#import "GHRevealViewController.h"
22
#import "VLCMenuTableViewController.h"
23
#import "VLCDownloadViewController.h"
Felix Paul Kühne's avatar
Felix Paul Kühne committed
24
#import "BWQuincyManager.h"
25
#import "VLCDocumentPickerController.h"
Felix Paul Kühne's avatar
Felix Paul Kühne committed
26

27 28
@class VLCPlaylistViewController;
@class PAPasscodeViewController;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
29
@interface VLCAppDelegate : UIResponder <UIApplicationDelegate>
30

31
- (void)updateMediaList;
32 33
- (void)disableIdleTimer;
- (void)activateIdleTimer;
34

35 36 37 38
- (void)networkActivityStarted;
- (BOOL)haveNetworkActivity;
- (void)networkActivityStopped;

39 40
- (void)cleanCache;

41 42
- (void)openMediaFromManagedObject:(NSManagedObject *)file;
- (void)openMovieFromURL:(NSURL *)url;
43
- (void)openMediaList:(VLCMediaList*)list atIndex:(int)index;
44
- (void)openMovieWithExternalSubtitleFromURL:(NSURL *)url externalSubURL:(NSString *)SubtitlePath;
45

46
@property (nonatomic, readonly) VLCPlaylistViewController *playlistViewController;
47
@property (nonatomic, readonly) VLCDropboxTableViewController *dropboxTableViewController;
Carola Nitz's avatar
Carola Nitz committed
48
@property (nonatomic, readonly) VLCGoogleDriveTableViewController *googleDriveTableViewController;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
49
@property (nonatomic, readonly) VLCOneDriveTableViewController *oneDriveTableViewController;
50
@property (nonatomic, readonly) VLCDownloadViewController *downloadViewController;
51
@property (nonatomic, readonly) VLCDocumentPickerController *documentPickerController;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
52

Felix Paul Kühne's avatar
Felix Paul Kühne committed
53
@property (nonatomic, strong) UIWindow *window;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
54

55
@property (nonatomic, strong) GHRevealViewController *revealController;
56
@property (nonatomic, strong) VLCMenuTableViewController *menuViewController;
Felix Paul Kühne's avatar
Felix Paul Kühne committed
57

58 59
@property (nonatomic) VLCHTTPUploaderController *uploadController;

Felix Paul Kühne's avatar
Felix Paul Kühne committed
60
@end