VLCNetworkServerBrowserVLCMedia.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*****************************************************************************
  2. * VLCNetworkServerBrowserVLCMedia.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 VLCNetworkServerBrowserVLCMedia : NSObject <VLCNetworkServerBrowser>
  15. - (instancetype)initWithMedia:(VLCMedia *)media NS_DESIGNATED_INITIALIZER;
  16. - (instancetype)init NS_UNAVAILABLE;
  17. @end
  18. @interface VLCNetworkServerBrowserItemVLCMedia : NSObject <VLCNetworkServerBrowserItem>
  19. - (instancetype)initWithMedia:(VLCMedia *)media;
  20. @end
  21. @interface VLCNetworkServerBrowserVLCMedia (SMB)
  22. + (instancetype)SMBNetworkServerBrowserWithURL:(NSURL *)url
  23. username:(nullable NSString *)username
  24. password:(nullable NSString *)password
  25. workgroup:(nullable NSString *)workgroup;
  26. @end
  27. NS_ASSUME_NONNULL_END