refactor fonthost_tables into wrapper (fonthost) and impl (fontstream)



git-svn-id: http://skia.googlecode.com/svn/trunk@7958 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkFontStream.h b/src/core/SkFontStream.h
new file mode 100644
index 0000000..787a986
--- /dev/null
+++ b/src/core/SkFontStream.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkFontStream_DEFINED
+#define SkFontStream_DEFINED
+
+class SkStream;
+
+#include "SkTypeface.h"
+
+class SkFontStream {
+public:
+    static int GetTableTags(SkStream*, SkFontTableTag tags[]);
+    static size_t GetTableData(SkStream*, SkFontTableTag tag,
+                               size_t offset, size_t length, void* data);
+};
+
+#endif
+
+