VLCNetworkLoginViewController.h 1.17 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//
//  VLCNetworkLoginViewController.h
//  VLC for iOS
//
//  Created by Felix Paul Kühne on 11.08.13.
//  Copyright (c) 2013 VideoLAN. All rights reserved.
//
//  Refer to the COPYING file of the official project for license.
//

#import <UIKit/UIKit.h>

@protocol VLCNetworkLoginViewController <NSObject>
@required
15
- (void)loginToURL:(NSURL *)url confirmedWithUsername:(NSString *)username andPassword:(NSString *)password;
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@end

@interface VLCNetworkLoginViewController : UIViewController

@property (nonatomic, strong) IBOutlet UITextField *serverAddressField;
@property (nonatomic, strong) IBOutlet UIButton *connectButton;
@property (nonatomic, strong) IBOutlet UITextField *usernameField;
@property (nonatomic, strong) IBOutlet UILabel *usernameLabel;
@property (nonatomic, strong) IBOutlet UITextField *passwordField;
@property (nonatomic, strong) IBOutlet UILabel *passwordLabel;
@property (nonatomic, strong) IBOutlet UILabel *serverAddressHelpLabel;
@property (nonatomic, strong) IBOutlet UILabel *loginHelpLabel;

@property (nonatomic, retain) id delegate;

- (IBAction)dismiss:(id)sender;
32
- (IBAction)dismissWithAnimation:(id)sender;
33
34
35
- (IBAction)connectToServer:(id)sender;

@end