1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/include/xml/SkBML_XMLParser.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 + 1.5 +/* 1.6 + * Copyright 2006 The Android Open Source Project 1.7 + * 1.8 + * Use of this source code is governed by a BSD-style license that can be 1.9 + * found in the LICENSE file. 1.10 + */ 1.11 + 1.12 + 1.13 +#ifndef SkBML_XMLParser_DEFINED 1.14 +#define SkBML_XMLParser_DEFINED 1.15 + 1.16 +class SkStream; 1.17 +class SkWStream; 1.18 +class SkXMLParser; 1.19 +class SkXMLWriter; 1.20 + 1.21 +class BML_XMLParser { 1.22 +public: 1.23 + /** Read the byte XML stream and write the decompressed XML. 1.24 + */ 1.25 + static void Read(SkStream& s, SkXMLWriter& writer); 1.26 + /** Read the byte XML stream and write the decompressed XML into a writable stream. 1.27 + */ 1.28 + static void Read(SkStream& s, SkWStream& output); 1.29 + /** Read the byte XML stream and write the decompressed XML into an XML parser. 1.30 + */ 1.31 + static void Read(SkStream& s, SkXMLParser& output); 1.32 +}; 1.33 + 1.34 +#endif // SkBML_XMLParser_DEFINED