| Index: tools/vulkan/viewer/Slide.h
|
| diff --git a/tools/vulkan/viewer/Slide.h b/tools/vulkan/viewer/Slide.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..742a345f95bde26a8bcf38f6424fea0c99342ba0
|
| --- /dev/null
|
| +++ b/tools/vulkan/viewer/Slide.h
|
| @@ -0,0 +1,28 @@
|
| +/*
|
| +* 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 Slide_DEFINED
|
| +#define Slide_DEFINED
|
| +
|
| +#include "SkRefCnt.h"
|
| +#include "SkString.h"
|
| +
|
| +class SkCanvas;
|
| +
|
| +class Slide : public SkRefCnt {
|
| +public:
|
| + virtual ~Slide() {}
|
| +
|
| + virtual void draw(SkCanvas* canvas) = 0;
|
| + SkString getName() { return fName; }
|
| +
|
| +protected:
|
| + SkString fName;
|
| +};
|
| +
|
| +
|
| +#endif
|
|
|