| 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 | // Unlike other types, TextValue parsing requires access to an AnimationBuilder. |
| 21 | bool Parse(const skjson::Value&, const AnimationBuilder&, TextValue*); |
| 22 | |
| 23 | } // namespace internal |
| 24 | } // namespace skottie |
| 25 | |
| 26 | #endif // SkottieTextValue_DEFINED |
| 27 | |