180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru/*
380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Copyright 2006 The Android Open Source Project
480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru *
580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * Use of this source code is governed by a BSD-style license that can be
680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru * found in the LICENSE file.
780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru */
880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#ifndef SkAnimate_DEFINED
1180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#define SkAnimate_DEFINED
1280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkAnimateBase.h"
1480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkDisplayType.h"
1580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkIntArray.h"
1680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#include "SkUtils.h"
1780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
1880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruclass SkAnimate : public SkAnimateBase {
1980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    DECLARE_MEMBER_INFO(Animate);
2080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    SkAnimate();
2180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual ~SkAnimate();
2280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual int components();
2380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#ifdef SK_DUMP_ENABLED
2480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual void dump(SkAnimateMaker* );
2580bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#endif
2680bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    virtual void onEndElement(SkAnimateMaker& maker);
2780bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruprotected:
2880bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    bool resolveCommon(SkAnimateMaker& );
2980bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    int fComponents;
3080bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queruprivate:
3180bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru    typedef SkAnimateBase INHERITED;
3280bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru};
3380bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru
3480bacfeb4bda06541e8695bd502229727bccfeaJean-Baptiste Queru#endif // SkAnimateField_DEFINED
35