tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 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 Resources_DEFINED |
| 9 | #define Resources_DEFINED |
| 10 | |
| 11 | #include "SkString.h" |
| 12 | |
halcanary | 30b83d4 | 2014-10-26 05:23:53 -0700 | [diff] [blame] | 13 | class SkBitmap; |
| 14 | |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 15 | SkString GetResourcePath(const char* resource = ""); |
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 16 | void SetResourcePath(const char* ); |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 17 | |
halcanary | 30b83d4 | 2014-10-26 05:23:53 -0700 | [diff] [blame] | 18 | bool GetResourceAsBitmap(const char* resource, SkBitmap* dst); |
| 19 | |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 20 | #endif // Resources_DEFINED |