blob: 3ef566fe3b54b5c1cd604c9555c401b8d142627c [file] [log] [blame]
darinb9481ed2006-03-20 02:57:59 +00001/*
2 Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org>
4
5 This file is part of the KDE project
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
21*/
22
23#ifndef KSVG_SVGAnimatedIntegerImpl_H
24#define KSVG_SVGAnimatedIntegerImpl_H
25#if SVG_SUPPORT
26
27#include "Shared.h"
28
29namespace WebCore
30{
31 class SVGStyledElement;
32
33 class SVGAnimatedInteger : public Shared<SVGAnimatedInteger>
34 {
35 public:
36 SVGAnimatedInteger(const SVGStyledElement *context);
37 virtual ~SVGAnimatedInteger();
38
39 long baseVal() const;
40 void setBaseVal(long baseVal);
41
42 long animVal() const;
43 void setAnimVal(long animVal);
44
45 private:
46 long m_baseVal;
47 long m_animVal;
48
49 const SVGStyledElement *m_context;
50 };
51};
52
53#endif // SVG_SUPPORT
54#endif
55
56// vim:ts=4:noet