[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / include / generated / animation / state_machine_component_base.hpp
index eacfe67..5c7606a 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _RIVE_STATE_MACHINE_COMPONENT_BASE_HPP_
 #define _RIVE_STATE_MACHINE_COMPONENT_BASE_HPP_
+#include <string>
 #include "core.hpp"
 #include "core/field_types/core_string_type.hpp"
-#include <string>
 namespace rive
 {
        class StateMachineComponentBase : public Core
@@ -33,7 +33,7 @@ namespace rive
        private:
                std::string m_Name = "";
        public:
-               inline std::string name() const { return m_Name; }
+               inline const std::string& name() const { return m_Name; }
                void name(std::string value)
                {
                        if (m_Name == value)
@@ -44,6 +44,11 @@ namespace rive
                        nameChanged();
                }
 
+               void copy(const StateMachineComponentBase& object)
+               {
+                       m_Name = object.m_Name;
+               }
+
                bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
                {
                        switch (propertyKey)