scroggo@google.com | 4177ef4 | 2012-10-31 15:52:16 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkRunnable_DEFINED |
| 9 | #define SkRunnable_DEFINED |
| 10 | |
mtklein | 406654b | 2014-09-03 15:34:37 -0700 | [diff] [blame] | 11 | struct SkRunnable { |
| 12 | virtual ~SkRunnable() {}; |
scroggo@google.com | 4177ef4 | 2012-10-31 15:52:16 +0000 | [diff] [blame] | 13 | virtual void run() = 0; |
| 14 | }; |
| 15 | |
scroggo@google.com | 4177ef4 | 2012-10-31 15:52:16 +0000 | [diff] [blame] | 16 | #endif |