diff options
Diffstat (limited to 'include/svg/parser/SkSVGBase.h')
-rw-r--r-- | include/svg/parser/SkSVGBase.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/svg/parser/SkSVGBase.h b/include/svg/parser/SkSVGBase.h new file mode 100644 index 0000000000..6bfc39d0bf --- /dev/null +++ b/include/svg/parser/SkSVGBase.h @@ -0,0 +1,25 @@ + +/* + * Copyright 2006 The Android Open Source Project + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + + +#ifndef SkSVGBase_DEFINED +#define SkSVGBase_DEFINED + +#include "SkSVGAttribute.h" + +class SkSVGParser; + +class SkSVGBase { +public: + virtual ~SkSVGBase(); + virtual void addAttribute(SkSVGParser& parser, int attrIndex, + const char* attrValue, size_t attrLength); + virtual int getAttributes(const SkSVGAttribute** attrPtr) = 0; +}; + +#endif // SkSVGBase_DEFINEDes(const SkSVGAttribute** attrPtr) = 0; |