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
|
|
|
|
|
2016-05-04 20:49:13 +00:00
|
|
|
namespace sk_app {
|
|
|
|
|
2016-04-06 13:08:59 +00:00
|
|
|
class Application {
|
|
|
|
public:
|
|
|
|
static Application* Create(int argc, char** argv, void* platformData);
|
|
|
|
|
|
|
|
virtual ~Application() {}
|
|
|
|
|
2016-07-06 21:11:32 +00:00
|
|
|
virtual void onIdle() = 0;
|
2016-04-06 13:08:59 +00:00
|
|
|
};
|
|
|
|
|
2016-05-04 20:49:13 +00:00
|
|
|
} // namespace sk_app
|
|
|
|
|
2016-04-06 13:08:59 +00:00
|
|
|
#endif
|