OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef Resources_DEFINED | 8 #ifndef Resources_DEFINED |
9 #define Resources_DEFINED | 9 #define Resources_DEFINED |
10 | 10 |
11 #include "SkString.h" | 11 #include "SkString.h" |
12 | 12 |
| 13 class SkBitmap; |
| 14 |
13 SkString GetResourcePath(const char* resource = ""); | 15 SkString GetResourcePath(const char* resource = ""); |
14 void SetResourcePath(const char* ); | 16 void SetResourcePath(const char* ); |
15 | 17 |
| 18 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst); |
| 19 |
16 #endif // Resources_DEFINED | 20 #endif // Resources_DEFINED |
OLD | NEW |