skia2/tools/viewer/sk_app/Application.h
jvanverth a8d0d6c8ba More refactoring for Viewer
* 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
2016-05-05 12:32:03 -07:00

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