| Index: remoting/ios/app/client_connection_view_controller.h
|
| diff --git a/remoting/ios/app/client_connection_view_controller.h b/remoting/ios/app/client_connection_view_controller.h
|
| index cb5638b38faef332733292f9d87bc5a8ede98c3f..efc5b563a10c845ff9b410ceaab18493422440c9 100644
|
| --- a/remoting/ios/app/client_connection_view_controller.h
|
| +++ b/remoting/ios/app/client_connection_view_controller.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #import <UIKit/UIKit.h>
|
|
|
| +@class HostInfo;
|
| +
|
| // This enumerated the differnt modes this Client Connection View can be in.
|
| typedef NS_ENUM(NSInteger, ClientConnectionViewState) {
|
| ClientViewConnecting,
|
| @@ -15,18 +17,6 @@ typedef NS_ENUM(NSInteger, ClientConnectionViewState) {
|
| ClientViewClosed,
|
| };
|
|
|
| -// The host connection view controller delegate provides feedback for state
|
| -// changes on Host Connection that the calling view should respond to.
|
| -@protocol ClientConnectionViewControllerDelegate<NSObject>
|
| -
|
| -// Notifies the delegate the client is connected to the host.
|
| -- (void)clientConnected;
|
| -
|
| -// Gets the current host name the client is attempting to connect to.
|
| -- (NSString*)getConnectingHostName;
|
| -
|
| -@end
|
| -
|
| // This is the view that shows the user feedback while the client connection is
|
| // being established. If requested the view can also display the pin entry view.
|
| // State communication for this view is handled by NSNotifications, it listens
|
| @@ -35,13 +25,11 @@ typedef NS_ENUM(NSInteger, ClientConnectionViewState) {
|
| // work the same way if state is set directly.
|
| @interface ClientConnectionViewController : UIViewController
|
|
|
| +- (instancetype)initWithHostInfo:(HostInfo*)hostInfo;
|
| +
|
| // Setting state will change the view
|
| @property(nonatomic, assign) ClientConnectionViewState state;
|
|
|
| -// This delegate is used to ask for Host Name and to notify when the connection
|
| -// has been established.
|
| -@property(weak, nonatomic) id<ClientConnectionViewControllerDelegate> delegate;
|
| -
|
| @end
|
|
|
| #endif // REMOTING_IOS_APP_CLIENT_CONNECTION_VIEW_CONTROLLER_H_
|
|
|