/***************************************************************************** * VLCOneDriveController.h * VLC for iOS ***************************************************************************** * Copyright (c) 2014-2019 VideoLAN. All rights reserved. * $Id$ * * Authors: Felix Paul Kühne * * Refer to the COPYING file of the official project for license. *****************************************************************************/ #import "VLCOneDriveTableViewController.h" #define VLCOneDriveControllerSessionUpdated @"VLCOneDriveControllerSessionUpdated" @class ODItem; @interface VLCOneDriveController : VLCCloudStorageController @property (readonly) BOOL activeSession; @property (nonatomic, readwrite) ODItem *currentItem; @property (nonatomic, readwrite) ODItem *parentItem; @property (nonatomic, readonly) NSString *rootItemID; @property (nonatomic) UIViewController *presentingViewController; + (VLCOneDriveController *)sharedInstance; - (void)loginWithViewController:(UIViewController*)presentingViewController; - (void)startDownloadingODItem:(ODItem *)item; - (NSString *)configureSubtitleWithFileName:(NSString *)fileName folderItems:(NSArray *)folderItems; - (void)loadODItems; - (void)loadODParentItem; - (void)loadODItemsWithCompletionHandler:(void (^)(void))completionHandler; @end