allwinner_a64/android/external/skia/tools/viewer/sk_app/Application.h
2018-08-08 16:14:42 +08:00

24 lines
419 B
C++

/*
* 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
namespace sk_app {
class Application {
public:
static Application* Create(int argc, char** argv, void* platformData);
virtual ~Application() {}
virtual void onIdle() = 0;
};
} // namespace sk_app
#endif