aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/ResourceFactory.h
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-01-29 13:10:08 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-29 21:23:33 +0000
commitb4d01a95c9cbb7adf7adaba193c813313d9d7261 (patch)
tree20713af8de3d3c8dc49cb52d89bcf2ccb16be4cb /tools/ResourceFactory.h
parent926e193e5db4d98f10cda76a2b6a01b5c78753ad (diff)
SkQP: ResourceFactory
Change-Id: Ic57a86ec115e3ace52615c0b8e9a22a915988850 Reviewed-on: https://skia-review.googlesource.com/101320 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/ResourceFactory.h')
-rw-r--r--tools/ResourceFactory.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/ResourceFactory.h b/tools/ResourceFactory.h
new file mode 100644
index 0000000000..7e89017312
--- /dev/null
+++ b/tools/ResourceFactory.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2018 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef ResourceFactory_DEFINED
+#define ResourceFactory_DEFINED
+
+#include <SkData.h>
+
+extern sk_sp<SkData> (*gResourceFactory)(const char*);
+
+#endif // ResourceFactory_DEFINED