gfx/skia/trunk/src/animator/SkDump.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/animator/SkDump.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     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 SkDump_DEFINED
    1.14 +#define SkDump_DEFINED
    1.15 +
    1.16 +#include "SkDisplayable.h"
    1.17 +#include "SkMemberInfo.h"
    1.18 +
    1.19 +class SkAnimateMaker;
    1.20 +class SkString;
    1.21 +
    1.22 +class SkDump : public SkDisplayable {
    1.23 +    DECLARE_MEMBER_INFO(Dump);
    1.24 +#ifdef SK_DUMP_ENABLED
    1.25 +    SkDump();
    1.26 +    virtual bool enable(SkAnimateMaker & );
    1.27 +    bool evaluate(SkAnimateMaker &);
    1.28 +    virtual bool hasEnable() const;
    1.29 +    static void GetEnumString(SkDisplayTypes , int index, SkString* result);
    1.30 +    SkBool displayList;
    1.31 +    SkBool eventList;
    1.32 +    SkBool events;
    1.33 +    SkString name;
    1.34 +    SkBool groups;
    1.35 +    SkBool posts;
    1.36 +    SkString script;
    1.37 +#else
    1.38 +    virtual bool enable(SkAnimateMaker & );
    1.39 +    virtual bool hasEnable() const;
    1.40 +    virtual bool setProperty(int index, SkScriptValue& );
    1.41 +#endif
    1.42 +};
    1.43 +
    1.44 +
    1.45 +#endif // SkDump_DEFINED

mercurial