aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/graphics/animator/SkDump.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/graphics/animator/SkDump.h')
-rw-r--r--libs/graphics/animator/SkDump.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/graphics/animator/SkDump.h b/libs/graphics/animator/SkDump.h
new file mode 100644
index 0000000000..2d9c99f4e4
--- /dev/null
+++ b/libs/graphics/animator/SkDump.h
@@ -0,0 +1,34 @@
+#ifndef SkDump_DEFINED
+#define SkDump_DEFINED
+
+#include "SkDisplayable.h"
+#include "SkMemberInfo.h"
+
+class SkAnimateMaker;
+class SkString;
+
+class SkDump : public SkDisplayable {
+ DECLARE_MEMBER_INFO(Dump);
+#ifdef SK_DUMP_ENABLED
+ SkDump();
+ virtual bool enable(SkAnimateMaker & );
+ bool evaluate(SkAnimateMaker &);
+ virtual bool hasEnable() const;
+ static void GetEnumString(SkDisplayTypes , int index, SkString* result);
+ SkBool displayList;
+ SkBool eventList;
+ SkBool events;
+ SkString name;
+ SkBool groups;
+ SkBool posts;
+ SkString script;
+#else
+ virtual bool enable(SkAnimateMaker & );
+ virtual bool hasEnable() const;
+ virtual bool setProperty(int index, SkScriptValue& );
+#endif
+};
+
+
+#endif // SkDump_DEFINED
+