#pragma once #include "domain/Project.h" #include namespace core { class AnimationBinary { public: static constexpr quint32 kMagicAnimation = 0x4846414E; // 'HFAN' static constexpr quint32 kAnimationVersion = 2; static bool save(const QString& absolutePath, const Project::Animation& animation); static bool load(const QString& absolutePath, Project::Animation& animation); }; } // namespace core