gfx/skia/trunk/include/svg/SkSVGBase.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/include/svg/SkSVGBase.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     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 SkSVGBase_DEFINED
    1.14 +#define SkSVGBase_DEFINED
    1.15 +
    1.16 +#include "SkSVGAttribute.h"
    1.17 +
    1.18 +class SkSVGParser;
    1.19 +
    1.20 +class SkSVGBase {
    1.21 +public:
    1.22 +    virtual ~SkSVGBase();
    1.23 +    virtual void addAttribute(SkSVGParser& parser, int attrIndex,
    1.24 +        const char* attrValue, size_t attrLength);
    1.25 +    virtual int getAttributes(const SkSVGAttribute** attrPtr) = 0;
    1.26 +};
    1.27 +
    1.28 +#endif // SkSVGBase_DEFINEDes(const SkSVGAttribute** attrPtr) = 0;

mercurial