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 13class SkBitmap; 14class SkStreamAsset; 15class SkTypeface; 16 17SkString GetResourcePath(const char* resource = ""); 18void SetResourcePath(const char* ); 19 20bool GetResourceAsBitmap(const char* resource, SkBitmap* dst); 21SkStreamAsset* GetResourceAsStream(const char* resource); 22SkTypeface* GetResourceAsTypeface(const char* resource); 23 24#endif // Resources_DEFINED 25