a8d0d6c8ba
* Move support files into sk_app and main files up to top directory * Rename VulkanTestContext and create WindowContext parent class * Place VulkanWindowContext et al. in sk_app namespace. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1944413005 Review-Url: https://codereview.chromium.org/1944413005
25 lines
428 B
C++
25 lines
428 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(double ms) = 0;
|
|
};
|
|
|
|
} // namespace sk_app
|
|
|
|
#endif
|