aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/sk_app/Application.h
blob: 235ff09ed4ed73e7b78ce5d958ecde27d0d54104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* 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