VLCLocalServerDiscoveryController.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 "VLCLocalNetworkService.h"
  15. @protocol VLCLocalServerDiscoveryControllerDelegate <NSObject>
  16. - (void)discoveryFoundSomethingNew;
  17. @end
  18. @interface VLCLocalServerDiscoveryController : NSObject
  19. @property (nonatomic, readwrite, weak) id delegate;
  20. - (NSUInteger)numberOfSections;
  21. - (NSString *)titleForSection:(NSUInteger)section;
  22. - (NSUInteger)numberOfItemsInSection:(NSUInteger)section;
  23. - (id<VLCLocalNetworkService>)networkServiceForIndexPath:(NSIndexPath *)indexPath;
  24. - (void)stopDiscovery;
  25. - (BOOL)refreshDiscoveredData;
  26. - (void)startDiscovery;
  27. @end