VLCSharedLibraryParser.h 950 B

1234567891011121314151617181920212223242526272829303132
  1. /*****************************************************************************
  2. * VLCSharedLibraryParser.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. *
  7. * Authors: Pierre Sagaspe <pierre.sagaspe # me.com>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. extern NSString *const VLCSharedLibraryParserDeterminedNetserviceAsVLCInstance;
  13. @protocol VLCSharedLibraryParserDelegate <NSObject>
  14. @required
  15. - (void)sharedLibraryDataProcessings:(NSArray *)result;
  16. @end
  17. @interface VLCSharedLibraryParser : NSObject
  18. @property (readwrite, weak) id<VLCSharedLibraryParserDelegate> delegate;
  19. - (void)checkNetserviceForVLCService:(NSNetService *)netservice;
  20. - (void)fetchDataFromServer:(NSString *)hostname port:(long)port;
  21. @end