2016-04-06 13:08:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2016 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef Application_DEFINED
|
|
|
|
#define Application_DEFINED
|
|
|
|
|
|
|
|
class Application {
|
|
|
|
public:
|
|
|
|
static Application* Create(int argc, char** argv, void* platformData);
|
|
|
|
|
|
|
|
virtual ~Application() {}
|
|
|
|
|
2016-04-07 18:09:51 +00:00
|
|
|
virtual void onIdle(double ms) = 0;
|
2016-04-06 13:08:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|