michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkPostParts_DEFINED michael@0: #define SkPostParts_DEFINED michael@0: michael@0: #include "SkDisplayInput.h" michael@0: michael@0: class SkPost; michael@0: michael@0: class SkDataInput: public SkInput { michael@0: DECLARE_MEMBER_INFO(DataInput); michael@0: SkDataInput(); michael@0: bool add(); michael@0: virtual void dirty(); michael@0: virtual SkDisplayable* getParent() const; michael@0: virtual void onEndElement(SkAnimateMaker& ); michael@0: virtual bool setParent(SkDisplayable* ); michael@0: protected: michael@0: SkPost* fParent; michael@0: typedef SkInput INHERITED; michael@0: friend class SkPost; michael@0: }; michael@0: michael@0: #endif // SkPostParts_DEFINED