1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/animator/SkPostParts.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 + 1.5 +/* 1.6 + * Copyright 2006 The Android Open Source Project 1.7 + * 1.8 + * Use of this source code is governed by a BSD-style license that can be 1.9 + * found in the LICENSE file. 1.10 + */ 1.11 + 1.12 + 1.13 +#ifndef SkPostParts_DEFINED 1.14 +#define SkPostParts_DEFINED 1.15 + 1.16 +#include "SkDisplayInput.h" 1.17 + 1.18 +class SkPost; 1.19 + 1.20 +class SkDataInput: public SkInput { 1.21 + DECLARE_MEMBER_INFO(DataInput); 1.22 + SkDataInput(); 1.23 + bool add(); 1.24 + virtual void dirty(); 1.25 + virtual SkDisplayable* getParent() const; 1.26 + virtual void onEndElement(SkAnimateMaker& ); 1.27 + virtual bool setParent(SkDisplayable* ); 1.28 +protected: 1.29 + SkPost* fParent; 1.30 + typedef SkInput INHERITED; 1.31 + friend class SkPost; 1.32 +}; 1.33 + 1.34 +#endif // SkPostParts_DEFINED