2011-07-28 14:26:00 +00:00
|
|
|
|
2008-12-17 15:59:43 +00:00
|
|
|
/*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Copyright 2006 The Android Open Source Project
|
2008-12-17 15:59:43 +00:00
|
|
|
*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
2008-12-17 15:59:43 +00:00
|
|
|
*/
|
|
|
|
|
2011-07-28 14:26:00 +00:00
|
|
|
|
2008-12-17 15:59:43 +00:00
|
|
|
#ifndef SkSVGBase_DEFINED
|
|
|
|
#define SkSVGBase_DEFINED
|
|
|
|
|
|
|
|
#include "SkSVGAttribute.h"
|
|
|
|
|
|
|
|
class SkSVGParser;
|
|
|
|
|
|
|
|
class SkSVGBase {
|
|
|
|
public:
|
|
|
|
virtual ~SkSVGBase();
|
2012-08-23 18:09:54 +00:00
|
|
|
virtual void addAttribute(SkSVGParser& parser, int attrIndex,
|
2008-12-17 15:59:43 +00:00
|
|
|
const char* attrValue, size_t attrLength);
|
|
|
|
virtual int getAttributes(const SkSVGAttribute** attrPtr) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SkSVGBase_DEFINEDes(const SkSVGAttribute** attrPtr) = 0;
|
|
|
|
|