| Index: remoting/client/ios/session/remoting_client.h
|
| diff --git a/remoting/client/ios/session/remoting_client.h b/remoting/client/ios/session/remoting_client.h
|
| index 900a346e70df716789d807519ed1b18dad3b2330..d1ea4377c74b1bdcc04d8dec7776c4cfd2865858 100644
|
| --- a/remoting/client/ios/session/remoting_client.h
|
| +++ b/remoting/client/ios/session/remoting_client.h
|
| @@ -7,8 +7,16 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| +#import "remoting/client/ios/display/gl_display_handler.h"
|
| +
|
| #include "remoting/protocol/connection_to_host.h"
|
|
|
| +namespace remoting {
|
| +
|
| +class GestureInterpreter;
|
| +
|
| +} // namespace remoting
|
| +
|
| @class HostInfo;
|
| @class GlDisplayHandler;
|
|
|
| @@ -28,7 +36,7 @@ extern NSString* const kHostSessionPin;
|
| // NSNotificationCenter to signal session state changes using the key
|
| // |kHostSessionStatusChanged|. It expects to receive an event back on
|
| // |kHostSessionPinProvided| when the session is asking for a PIN authenication.
|
| -@interface RemotingClient : NSObject
|
| +@interface RemotingClient : NSObject<GlDisplayHandlerDelegate>
|
|
|
| // Connect to a given host.
|
| // |hostInfo| is all the details around a host.
|
| @@ -55,10 +63,17 @@ extern NSString* const kHostSessionPin;
|
|
|
| - (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message;
|
|
|
| +// Notifies all components that the frame of the surface has changed.
|
| +- (void)surfaceChanged:(const CGRect&)frame;
|
| +
|
| // The display handler tied to the remoting client used to display the host.
|
| @property(nonatomic, strong) GlDisplayHandler* displayHandler;
|
| // The host info used to make the remoting client connection.
|
| @property(nonatomic, readonly) HostInfo* hostInfo;
|
| +// The gesture interpreter used to handle gestures.
|
| +// This is valid only after the client has connected to the host. Always use
|
| +// RemotingClient.gestureInterpreter instead of storing the pointer separately.
|
| +@property(nonatomic, readonly) remoting::GestureInterpreter* gestureInterpreter;
|
|
|
| @end
|
|
|
|
|