VLCNetworkLoginDataSourceLogin.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  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 "VLCNetworkServerLoginInformation.h"
  13. #import "VLCNetworkLoginDataSourceSection.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. @protocol VLCNetworkLoginDataSourceLoginDelegate;
  16. @interface VLCNetworkLoginDataSourceLogin : NSObject <VLCNetworkLoginDataSourceSection>
  17. @property (nonatomic, weak) id <VLCNetworkLoginDataSourceLoginDelegate> delegate;
  18. @property (nonatomic, strong) VLCNetworkServerLoginInformation *loginInformation;
  19. @end
  20. @protocol VLCNetworkLoginDataSourceLoginDelegate <NSObject>
  21. - (void)saveLoginDataSource:(VLCNetworkLoginDataSourceLogin *)dataSource;
  22. - (void)connectLoginDataSource:(VLCNetworkLoginDataSourceLogin *)dataSource;
  23. @end
  24. NS_ASSUME_NONNULL_END