blob: e5e9e16d2710c90fe1fc161b228225d988e6f522 [file] [log] [blame]
#ifndef _RIVE_KEYED_PROPERTY_IMPORTER_HPP_
#define _RIVE_KEYED_PROPERTY_IMPORTER_HPP_
#include "rive/importers/import_stack.hpp"
namespace rive {
class Core;
class KeyFrame;
class KeyedProperty;
class LinearAnimation;
class KeyedPropertyImporter : public ImportStackObject {
private:
LinearAnimation* m_Animation;
KeyedProperty* m_KeyedProperty;
public:
KeyedPropertyImporter(LinearAnimation* animation, KeyedProperty* keyedProperty);
void addKeyFrame(std::unique_ptr<KeyFrame>);
bool readNullObject() override;
};
} // namespace rive
#endif