VLCNetworkServerBrowserFTP.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /*****************************************************************************
  2. * VLCNetworkServerBrowserFTP.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Tobias Conradi <videolan # tobias-conradi.de>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import "VLCNetworkServerBrowser-Protocol.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface VLCNetworkServerBrowserFTP : NSObject <VLCNetworkServerBrowser>
  15. - (instancetype)initWithFTPServer:(NSString *)serverAddress userName:(nullable NSString *)username andPassword:(nullable NSString *)password atPath:(NSString *)path;
  16. - (instancetype)initWithURL:(NSURL *)url NS_DESIGNATED_INITIALIZER;
  17. - (instancetype)init NS_UNAVAILABLE;
  18. @end
  19. @interface VLCNetworkServerBrowserItemFTP : NSObject <VLCNetworkServerBrowserItem>
  20. - (instancetype)initWithDictionary:(NSDictionary *)dict baseURL:(NSURL *)baseURL;
  21. @end
  22. NS_ASSUME_NONNULL_END