aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator/SkPostParts.h
blob: 4101b2b2eee6ba09aa4c21733d26b92a34d4c395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

/*
 * 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 SkPostParts_DEFINED
#define SkPostParts_DEFINED

#include "SkDisplayInput.h"

class SkPost;

class SkDataInput: public SkInput {
    DECLARE_MEMBER_INFO(DataInput);
    SkDataInput();
    bool add();
    virtual void dirty();
    virtual SkDisplayable* getParent() const;
    virtual void onEndElement(SkAnimateMaker& );
    virtual bool setParent(SkDisplayable* );
protected:
    SkPost* fParent;
    typedef SkInput INHERITED;
    friend class SkPost;
};

#endif // SkPostParts_DEFINED