VLCNetworkLoginViewController.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // VLCNetworkLoginViewController.h
  3. // VLC for iOS
  4. //
  5. // Created by Felix Paul Kühne on 11.08.13.
  6. // Copyright (c) 2013 VideoLAN. All rights reserved.
  7. //
  8. // Refer to the COPYING file of the official project for license.
  9. //
  10. #import <UIKit/UIKit.h>
  11. @protocol VLCNetworkLoginViewController <NSObject>
  12. @required
  13. - (void)loginToURL:(NSURL *)url confirmedWithUsername:(NSString *)username andPassword:(NSString *)thePassword;
  14. @end
  15. @interface VLCNetworkLoginViewController : UIViewController
  16. @property (nonatomic, strong) IBOutlet UITextField *serverAddressField;
  17. @property (nonatomic, strong) IBOutlet UIButton *connectButton;
  18. @property (nonatomic, strong) IBOutlet UITextField *usernameField;
  19. @property (nonatomic, strong) IBOutlet UILabel *usernameLabel;
  20. @property (nonatomic, strong) IBOutlet UITextField *passwordField;
  21. @property (nonatomic, strong) IBOutlet UILabel *passwordLabel;
  22. @property (nonatomic, strong) IBOutlet UILabel *serverAddressHelpLabel;
  23. @property (nonatomic, strong) IBOutlet UILabel *loginHelpLabel;
  24. @property (weak, nonatomic) IBOutlet UITableView *historyLogin;
  25. @property (nonatomic, retain) NSString *hostname;
  26. @property (nonatomic, retain) NSString *username;
  27. @property (nonatomic, retain) NSString *password;
  28. @property (nonatomic, retain) id delegate;
  29. - (IBAction)dismiss:(id)sender;
  30. - (IBAction)dismissWithAnimation:(id)sender;
  31. - (IBAction)connectToServer:(id)sender;
  32. - (IBAction)saveFTP:(id)sender;
  33. @end