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