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 namespace sk_app { | 11 namespace sk_app { |
12 | 12 |
13 class Application { | 13 class Application { |
14 public: | 14 public: |
15 static Application* Create(int argc, char** argv, void* platformData); | 15 static Application* Create(int argc, char** argv, void* platformData); |
16 | 16 |
17 virtual ~Application() {} | 17 virtual ~Application() {} |
18 | 18 |
19 virtual void onIdle(double ms) = 0; | 19 virtual void onIdle() = 0; |
20 }; | 20 }; |
21 | 21 |
22 } // namespace sk_app | 22 } // namespace sk_app |
23 | 23 |
24 #endif | 24 #endif |
OLD | NEW |