VLCDropboxController.h 1015 Bytes
Newer Older
1 2 3 4
/*****************************************************************************
 * VLCDropboxController.h
 * VLC for iOS
 *****************************************************************************
5
 * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
6 7 8 9 10 11
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
12

13
#import "VLCCloudStorageController.h"
14
#import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h>
15

16
@interface VLCDropboxController : VLCCloudStorageController
17

18
@property (nonatomic, readonly) NSInteger numberOfFilesWaitingToBeDownloaded;
19

20 21
+ (instancetype)sharedInstance;

22 23 24
- (void)shareCredentials;
- (BOOL)restoreFromSharedCredentials;

25 26
- (void)downloadFileToDocumentFolder:(DBFILESMetadata *)file;
- (void)streamFile:(DBFILESMetadata *)file currentNavigationController:(UINavigationController *)navigationController;
27 28

- (void)reset;
29 30

@end