Index: include/ports/SkFontMgr_FontConfigInterface.h |
diff --git a/include/ports/SkFontMgr_FontConfigInterface.h b/include/ports/SkFontMgr_FontConfigInterface.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..356e54c87d0b6202035b76884c0b11de71083e76 |
--- /dev/null |
+++ b/include/ports/SkFontMgr_FontConfigInterface.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkFontMgr_FontConfigInterface_DEFINED |
+#define SkFontMgr_FontConfigInterface_DEFINED |
+ |
+#include "SkTypes.h" |
+#include "SkRefCnt.h" |
+ |
+class SkFontMgr; |
+class SkFontConfigInterface; |
+ |
+/** Creates a SkFontMgr which wraps a SkFontConfigInterface. */ |
+SK_API SkFontMgr* SkFontMgr_New_FCI(sk_sp<SkFontConfigInterface> fci); |
+ |
+#endif // #ifndef SkFontMgr_FontConfigInterface_DEFINED |