OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ | 5 #ifndef REMOTING_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ |
6 #define REMOTING_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ | 6 #define REMOTING_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 // This enumerated the differnt modes this Client Connection View can be in. | 10 // This enumerated the differnt modes this Client Connection View can be in. |
11 typedef NS_ENUM(NSInteger, ClientConnectionViewState) { | 11 typedef NS_ENUM(NSInteger, ClientConnectionViewState) { |
12 ClientViewConnecting, | 12 ClientViewConnecting, |
13 ClientViewPinPrompt, | 13 ClientViewPinPrompt, |
14 ClientViewConnected, | 14 ClientViewConnected, |
15 ClientViewClosed, | 15 ClientViewClosed, |
16 }; | 16 }; |
(...skipping 20 matching lines...) Expand all Loading... |
37 | 37 |
38 // Setting state will change the view | 38 // Setting state will change the view |
39 @property(nonatomic, assign) ClientConnectionViewState state; | 39 @property(nonatomic, assign) ClientConnectionViewState state; |
40 | 40 |
41 // This delegate is used to ask for Host Name and to notify when the connection | 41 // This delegate is used to ask for Host Name and to notify when the connection |
42 // has been established. | 42 // has been established. |
43 @property(weak, nonatomic) id<ClientConnectionViewControllerDelegate> delegate; | 43 @property(weak, nonatomic) id<ClientConnectionViewControllerDelegate> delegate; |
44 | 44 |
45 @end | 45 @end |
46 | 46 |
47 #endif // REMOTING_CLIENT_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ | 47 #endif // REMOTING_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_ |
OLD | NEW |