blob: 99de77a8b7d1c84074671898af8000d2a4a3990d [file] [log] [blame]
tfarinabcbc1782014-06-18 14:32:48 -07001/*
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
halcanary30b83d42014-10-26 05:23:53 -070013class SkBitmap;
14
tfarinabcbc1782014-06-18 14:32:48 -070015SkString GetResourcePath(const char* resource = "");
caryclark936b7342014-07-11 12:14:51 -070016void SetResourcePath(const char* );
tfarinabcbc1782014-06-18 14:32:48 -070017
halcanary30b83d42014-10-26 05:23:53 -070018bool GetResourceAsBitmap(const char* resource, SkBitmap* dst);
19
tfarinabcbc1782014-06-18 14:32:48 -070020#endif // Resources_DEFINED