xref: /third_party/skia/tools/sk_app/Application.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/tools/sk_app/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci* Copyright 2016 Google Inc.
3cb93a386Sopenharmony_ci*
4cb93a386Sopenharmony_ci* Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci* found in the LICENSE file.
6cb93a386Sopenharmony_ci*/
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_ci#ifndef Application_DEFINED
9cb93a386Sopenharmony_ci#define Application_DEFINED
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_cinamespace sk_app {
12cb93a386Sopenharmony_ci
13cb93a386Sopenharmony_ciclass Application {
14cb93a386Sopenharmony_cipublic:
15cb93a386Sopenharmony_ci    static Application* Create(int argc, char** argv, void* platformData);
16cb93a386Sopenharmony_ci
17cb93a386Sopenharmony_ci    virtual ~Application() {}
18cb93a386Sopenharmony_ci
19cb93a386Sopenharmony_ci    virtual void onIdle() = 0;
20cb93a386Sopenharmony_ci};
21cb93a386Sopenharmony_ci
22cb93a386Sopenharmony_ci}   // namespace sk_app
23cb93a386Sopenharmony_ci
24cb93a386Sopenharmony_ci#endif
25

Indexes created Thu Nov 07 10:32:03 CST 2024