1 /* 2 * Copyright 2019 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkottieTextValue_DEFINED 9 #define SkottieTextValue_DEFINED 10 11 #include "modules/skottie/include/SkottieProperty.h" 12 13 namespace skjson { class Value; } 14 15 namespace skottie { 16 typedef TextPropertyValue TextValue; 17 18 namespace internal { 19 20 class AnimationBuilder; 21 22 // Unlike other types, TextValue parsing requires access to an AnimationBuilder. 23 bool Parse(const skjson::Value&, const AnimationBuilder&, TextValue*); 24 25 } // namespace internal 26 } // namespace skottie 27 28 #endif // SkottieTextValue_DEFINED 29