OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef Application_DEFINED | 8 #ifndef Application_DEFINED |
9 #define Application_DEFINED | 9 #define Application_DEFINED |
10 | 10 |
11 class Application { | 11 class Application { |
12 public: | 12 public: |
13 static Application* Create(int argc, char** argv, void* platformData); | 13 static Application* Create(int argc, char** argv, void* platformData); |
14 | 14 |
15 virtual ~Application() {} | 15 virtual ~Application() {} |
16 | 16 |
17 virtual void onIdle(float dt) = 0; | 17 virtual void onIdle(double ms) = 0; |
18 }; | 18 }; |
19 | 19 |
20 #endif | 20 #endif |
OLD | NEW |