blob: 4101b2b2eee6ba09aa4c21733d26b92a34d4c395 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
2/*
3 * Copyright 2006 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
reed@android.com8a1c16f2008-12-17 15:59:43 +00009
10#ifndef SkPostParts_DEFINED
11#define SkPostParts_DEFINED
12
13#include "SkDisplayInput.h"
14
15class SkPost;
16
reed@google.com8d0b5772011-06-24 13:07:31 +000017class SkDataInput: public SkInput {
18 DECLARE_MEMBER_INFO(DataInput);
19 SkDataInput();
reed@android.com8a1c16f2008-12-17 15:59:43 +000020 bool add();
21 virtual void dirty();
22 virtual SkDisplayable* getParent() const;
23 virtual void onEndElement(SkAnimateMaker& );
24 virtual bool setParent(SkDisplayable* );
25protected:
26 SkPost* fParent;
27 typedef SkInput INHERITED;
28 friend class SkPost;
29};
30
31#endif // SkPostParts_DEFINED