Index: remoting/client/ios/chromiumoting/example_view_controller.h |
diff --git a/remoting/client/ios/chromiumoting/example_view_controller.h b/remoting/client/ios/chromiumoting/example_view_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..88a4364867c481f5a3a83f1bb100d2456fe2e2fd |
--- /dev/null |
+++ b/remoting/client/ios/chromiumoting/example_view_controller.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef REMOTING_CLIENT_IOS_CHROMIUMOTING_EXAMPLE_VIEW_CONTROLLER_H_ |
+#define REMOTING_CLIENT_IOS_CHROMIUMOTING_EXAMPLE_VIEW_CONTROLLER_H_ |
+ |
+#import <GLKit/GLKit.h> |
+#import "remoting/client/ios/display/gl_display_handler.h" |
+#include "remoting/client/ios/app_runtime.h" |
+ |
+#include "remoting/client/software_video_renderer.h" |
+#include "remoting/codec/video_encoder_verbatim.h" |
+#include "remoting/proto/video.pb.h" |
+#import "remoting/client/ios/client_gestures.h" |
+ |
+@interface ExampleViewController : GLKViewController { |
+ @private |
+ |
+ // The GLES2 context being drawn too. |
+ EAGLContext* _context; |
+ remoting::ios::AppRuntime* _runtime; |
+ GlDisplayHandler* displayHandler; |
+ remoting::SoftwareVideoRenderer* video_renderer_; |
+ |
+ remoting::VideoEncoderVerbatim encoder_; |
+ ClientGestures* _gestures; |
+} |
+ |
+@end |
+ |
+#endif // REMOTING_CLIENT_IOS_CHROMIUMOTING_EXAMPLE_VIEW_CONTROLLER_H_ |