Chromium Code Reviews| Index: src/codec/SkCodec_wbmp.h |
| diff --git a/src/codec/SkCodec_wbmp.h b/src/codec/SkCodec_wbmp.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..127761720168746bc3a2360792046d388a584cbc |
| --- /dev/null |
| +++ b/src/codec/SkCodec_wbmp.h |
| @@ -0,0 +1,19 @@ |
| +/* |
| + * Copyright 2015 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#ifndef SkCodec_wbmp_DEFINED |
| +#define SkCodec_wbmp_DEFINED |
| + |
| +class SkCodec; |
| +class SkStream; |
| + |
| +namespace SkWbmpCodec { |
|
msarett
2015/03/26 12:37:35
What is the effect of declaring a namespace? I'm
scroggo
2015/03/26 14:37:57
Yes. It's mostly the same if all your methods are
hal.canary
2015/03/26 17:10:53
I find that namespace makes it more clear that thi
|
| +bool IsWbmp(SkStream*); |
| +SkCodec* NewFromStream(SkStream*); |
| +}; |
| + |
| +#endif // SkCodec_wbmp_DEFINED |