#pragma once #include #include #include #include #include #include #include namespace reanimated::css { class CSSKeyframesRegistry { public: CSSKeyframesRegistry( const std::shared_ptr &viewStylesRepository); const CSSKeyframesConfig &get( const std::string &animationName, const std::string &componentName); void set( const std::string &animationName, const std::string &componentName, CSSKeyframesConfig &&config); void remove( const std::string &animationName, const std::string &componentName); private: using ConfigsByComponentName = std::unordered_map; std::unordered_map registry_; const std::shared_ptr viewStylesRepository_; }; } // namespace reanimated::css