OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2006 The Android Open Source Project | |
scroggo
2013/07/15 18:02:41
2013
| |
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 LazyDecodeBitmap_DEFINED | |
9 #define LazyDecodeBitmap_DEFINED | |
10 | |
11 #include "SkTypes.h" | |
12 #include "SkBitmap.h" | |
scroggo
2013/07/15 18:02:41
SkBitmap can be forward-declared here, and include
sglez
2013/07/16 15:59:33
It compiles with just the forward declaration. Som
scroggo
2013/07/16 16:06:18
Although the forward declaration is enough to comp
| |
13 | |
scroggo
2013/07/15 18:02:41
Maybe add a comment here, explaining its purpose.
| |
14 bool LazyDecodeBitmap(const void* buffer, size_t size, SkBitmap* bitmap); | |
scroggo
2013/07/15 18:02:41
This should go inside a class or namespace. It cou
| |
15 | |
16 #endif // LazyDecodeBitmap_DEFINED | |
OLD | NEW |