[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / include / importers / artboard_importer.hpp
1 #ifndef _RIVE_ARTBOARD_IMPORTER_HPP_
2 #define _RIVE_ARTBOARD_IMPORTER_HPP_
3
4 #include "importers/import_stack.hpp"
5
6 namespace rive
7 {
8         class Core;
9         class Artboard;
10         class LinearAnimation;
11         class StateMachine;
12         class ArtboardImporter : public ImportStackObject
13         {
14         private:
15                 Artboard* m_Artboard;
16
17         public:
18                 ArtboardImporter(Artboard* artboard);
19                 void addComponent(Core* object);
20                 void addAnimation(LinearAnimation* animation);
21                 void addStateMachine(StateMachine* stateMachine);
22                 StatusCode resolve() override;
23                 const Artboard* artboard() const { return m_Artboard; }
24
25                 bool readNullObject() override;
26         };
27 } // namespace rive
28 #endif