VLCDropboxController.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*****************************************************************************
  2. * VLCDropboxController.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. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #if TARGET_OS_IOS
  13. #import <DropboxSDK/DropboxSDK.h>
  14. #else
  15. #import <DropboxTVSDK/DropboxSDK.h>
  16. #endif
  17. #import "VLCCloudStorageController.h"
  18. @interface VLCDropboxController : VLCCloudStorageController <DBRestClientDelegate, DBSessionDelegate, DBNetworkRequestDelegate>
  19. @property (nonatomic, readonly) NSInteger numberOfFilesWaitingToBeDownloaded;
  20. + (instancetype)sharedInstance;
  21. - (void)shareCredentials;
  22. - (BOOL)restoreFromSharedCredentials;
  23. - (void)downloadFileToDocumentFolder:(DBMetadata *)file;
  24. - (void)streamFile:(DBMetadata *)file currentNavigationController:(UINavigationController *)navigationController;
  25. - (void)reset;
  26. @end