michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkSVGBase_DEFINED michael@0: #define SkSVGBase_DEFINED michael@0: michael@0: #include "SkSVGAttribute.h" michael@0: michael@0: class SkSVGParser; michael@0: michael@0: class SkSVGBase { michael@0: public: michael@0: virtual ~SkSVGBase(); michael@0: virtual void addAttribute(SkSVGParser& parser, int attrIndex, michael@0: const char* attrValue, size_t attrLength); michael@0: virtual int getAttributes(const SkSVGAttribute** attrPtr) = 0; michael@0: }; michael@0: michael@0: #endif // SkSVGBase_DEFINEDes(const SkSVGAttribute** attrPtr) = 0;