VLCOneDriveController.h 958 B

12345678910111213141516171819202122232425262728293031323334
  1. /*****************************************************************************
  2. * VLCOneDriveController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2014 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. #import "VLCOneDriveTableViewController.h"
  13. @protocol VLCOneDriveControllerDelegate <NSObject>
  14. @end
  15. @interface VLCOneDriveController : NSObject
  16. @property (nonatomic, weak) VLCOneDriveTableViewController *delegate;
  17. @property (readonly) BOOL activeSession;
  18. + (VLCOneDriveController *)sharedInstance;
  19. - (void)login;
  20. - (void)logout;
  21. - (void)requestDirectoryListingAtPath:(NSString *)path;
  22. - (void)downloadFileWithPath:(NSString *)path;
  23. - (void)streamFileWithPath:(NSString *)path;
  24. @end