Chromium Code Reviews| Index: include/core/SkFlattenableSerialization.h |
| diff --git a/include/core/SkFlattenableSerialization.h b/include/core/SkFlattenableSerialization.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..53a9e9c832d18a1574e8caafd9b1436986ed44b7 |
| --- /dev/null |
| +++ b/include/core/SkFlattenableSerialization.h |
| @@ -0,0 +1,20 @@ |
| +/* |
| + * Copyright 2013 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#ifndef SkFlattenableSerialization_DEFINED |
| +#define SkFlattenableSerialization_DEFINED |
| + |
| +#include "SkTypes.h" |
| + |
| +class SkData; |
| +class SkFlattenable; |
| +class SkImageFilter; |
| + |
| +SK_API SkData* SkSerializeFlattenable(SkFlattenable*); |
|
reed1
2013/08/07 19:32:56
Lets keep these in parallel. Why not change the fi
scroggo
2013/08/07 19:34:33
Please add some comments.
|
| +SK_API SkImageFilter* SkDeserializeImageFilter(const void* data, size_t size) |
|
scroggo
2013/08/07 19:34:33
Will/might there be a need to serialize other obje
|
| + |
| +#endif |