Index: runtime/embedders/openglui/common/context.h |
=================================================================== |
--- runtime/embedders/openglui/common/context.h (revision 0) |
+++ runtime/embedders/openglui/common/context.h (revision 0) |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+#ifndef EMBEDDERS_OPENGLUI_COMMON_CONTEXT_H_ |
+#define EMBEDDERS_OPENGLUI_COMMON_CONTEXT_H_ |
+ |
+#include "embedders/openglui/common/graphics_handler.h" |
+#include "embedders/openglui/common/input_handler.h" |
+#include "embedders/openglui/common/sound_handler.h" |
+#include "embedders/openglui/common/timer.h" |
+#include "embedders/openglui/common/vm_glue.h" |
+ |
+struct Context { |
+ GraphicsHandler* graphics_handler; |
+ InputHandler* input_handler; |
+ SoundHandler* sound_handler; |
+ Timer* timer; |
+ VMGlue* vm_glue; |
+}; |
+ |
+#endif // EMBEDDERS_OPENGLUI_COMMON_CONTEXT_H_ |
+ |