VLCLocalServerDiscoveryController.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*****************************************************************************
  2. * VLCLocalServerDiscoveryController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Tobias Conradi <videolan # tobias-conradi.de>
  10. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #import <Foundation/Foundation.h>
  14. #import "UPnPManager.h"
  15. #import "VLCLocalNetworkService.h"
  16. @protocol VLCLocalServerDiscoveryControllerDelegate <NSObject>
  17. @required
  18. - (void)discoveryFoundSomethingNew;
  19. @end
  20. @interface VLCLocalServerDiscoveryController : NSObject
  21. @property (nonatomic, readwrite, weak) id delegate;
  22. @property (nonatomic, readonly) NSArray *sectionHeaderTexts;
  23. - (id<VLCLocalNetworkService>)networkServiceForIndexPath:(NSIndexPath *)indexPath;
  24. - (NSInteger)numberOfItemsInSection:(NSInteger)section;
  25. - (void)stopDiscovery;
  26. - (BOOL)refreshDiscoveredData;
  27. - (void)startDiscovery;
  28. @end