diff options
Diffstat (limited to 'src/runtime/Qt3DSQmlElementHelper.h')
-rw-r--r-- | src/runtime/Qt3DSQmlElementHelper.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/runtime/Qt3DSQmlElementHelper.h b/src/runtime/Qt3DSQmlElementHelper.h index f516571..507be66 100644 --- a/src/runtime/Qt3DSQmlElementHelper.h +++ b/src/runtime/Qt3DSQmlElementHelper.h @@ -45,10 +45,13 @@ private: public: static TElement *GetElement(qt3ds::runtime::IApplication &inApplication, - IPresentation *inDefaultPresentation, const char *inPath, + IPresentation *inDefaultPresentation, const QString &inPath, TElement *inStartElement = NULL); - static bool SetAttribute(TElement *inElement, const char *inAttribute, const void *value); + static bool SetAttribute(TElement *inElement, const char *inAttribute, const void *value, + TAttributeHash attrHash); + static bool EnsureAttribute(TElement *inElement, const char *inAttribute, + TAttributeHash attrHash); static bool GetAttribute(TElement *inElement, const char *inAttribute, void *value); struct TypedAttributeAndValue { @@ -58,7 +61,8 @@ public: static TypedAttributeAndValue getTypedAttributeAndValue(TElement *inElement, const char *inAttribute, - const void *value); + const void *value, + TAttributeHash attrHash); }; } |