OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
1 #ifndef DART_HOST_H | 5 #ifndef DART_HOST_H |
2 #define DART_HOST_H | 6 #define DART_HOST_H |
3 | 7 |
4 #include <android_native_app_glue.h> | 8 #include <android_native_app_glue.h> |
5 #include "bin/dartutils.h" | |
6 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
7 #include "jni/activity_handler.h" | 10 #include "jni/activity_handler.h" |
8 #include "jni/context.h" | 11 #include "jni/context.h" |
9 #include "jni/graphics.h" | 12 #include "jni/graphics.h" |
10 #include "jni/input_service.h" | 13 #include "jni/input_service.h" |
11 #include "jni/sound_service.h" | 14 #include "jni/sound_service.h" |
12 #include "jni/timer.h" | 15 #include "jni/timer.h" |
13 #include "jni/vm_glue.h" | 16 #include "jni/vm_glue.h" |
14 | 17 |
15 // Currently the life cycle management is very crude. We conservatively | 18 // Currently the life cycle management is very crude. We conservatively |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 InputHandler* input_handler_; | 54 InputHandler* input_handler_; |
52 Graphics* graphics_; | 55 Graphics* graphics_; |
53 SoundService* sound_service_; | 56 SoundService* sound_service_; |
54 Timer* timer_; | 57 Timer* timer_; |
55 VMGlue* vm_glue_; | 58 VMGlue* vm_glue_; |
56 bool active_; | 59 bool active_; |
57 }; | 60 }; |
58 | 61 |
59 #endif | 62 #endif |
60 | 63 |
OLD | NEW |