VLCNetworkServerSearchBrowser.h 1.1 KB

12345678910111213141516171819202122232425
  1. /*****************************************************************************
  2. * VLC for iOS
  3. *****************************************************************************
  4. * Copyright (c) 2016 VideoLAN. All rights reserved.
  5. * $Id$
  6. *
  7. * Authors: Vincent L. Cone <vincent.l.cone # tuta.io>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. #import "VLCNetworkServerBrowser-Protocol.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface VLCNetworkServerSearchBrowser : NSObject <VLCNetworkServerBrowser, VLCNetworkServerBrowserDelegate>
  15. // change the searchText to update the filters
  16. @property (nonatomic, copy, nullable) NSString *searchText;
  17. // VLCNetworkServerSearchBrowser does not set itself as the delegate of the serverBrowser,
  18. // instead the delegate of the serverBrowser has to relay the delegate methods to VLCNetworkServerSearchBrowser while active.
  19. - (instancetype)initWithServerBrowser:(id<VLCNetworkServerBrowser>)serverBrowser;
  20. @end
  21. NS_ASSUME_NONNULL_END