diff options
Diffstat (limited to 'src/Authoring/Client/Code/Core')
-rw-r--r-- | src/Authoring/Client/Code/Core/Core/Dispatch.cpp | 4 | ||||
-rw-r--r-- | src/Authoring/Client/Code/Core/Core/Dispatch.h | 8 | ||||
-rw-r--r-- | src/Authoring/Client/Code/Core/Core/DispatchListeners.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/Authoring/Client/Code/Core/Core/Dispatch.cpp b/src/Authoring/Client/Code/Core/Core/Dispatch.cpp index 4a1e0905..7ddf2d8b 100644 --- a/src/Authoring/Client/Code/Core/Core/Dispatch.cpp +++ b/src/Authoring/Client/Code/Core/Core/Dispatch.cpp @@ -621,9 +621,9 @@ void CDispatch::FireOnRefreshResourceFail(const QString &inResourceName, void CDispatch::FireOnUndefinedDatainputsFail( const QMultiMap<QString, QPair<qt3dsdm::Qt3DSDMInstanceHandle, - qt3dsdm::Qt3DSDMPropertyHandle>> *map) + qt3dsdm::Qt3DSDMPropertyHandle>> *map, bool askFromUser) { - m_FailListeners.FireEvent(&CFailListener::OnUndefinedDatainputsFail, map); + m_FailListeners.FireEvent(&CFailListener::OnUndefinedDatainputsFail, map, askFromUser); } void CDispatch::AddRendererListener(CRendererListener *inListener) diff --git a/src/Authoring/Client/Code/Core/Core/Dispatch.h b/src/Authoring/Client/Code/Core/Core/Dispatch.h index e727af7f..9d1c564a 100644 --- a/src/Authoring/Client/Code/Core/Core/Dispatch.h +++ b/src/Authoring/Client/Code/Core/Core/Dispatch.h @@ -194,10 +194,10 @@ public: void FireOnErrorFail(const QString &inText); void FireOnRefreshResourceFail(const QString &inResourceName, const QString &inDescription); - void FireOnUndefinedDatainputsFail( - const QMultiMap<QString, - QPair<qt3dsdm::Qt3DSDMInstanceHandle, - qt3dsdm::Qt3DSDMPropertyHandle>> *map); + void FireOnUndefinedDatainputsFail(const QMultiMap<QString, + QPair<qt3dsdm::Qt3DSDMInstanceHandle, + qt3dsdm::Qt3DSDMPropertyHandle>> *map, + bool askFromUser); void AddRendererListener(CRendererListener *inListener); void RemoveRendererListener(CRendererListener *inListener); diff --git a/src/Authoring/Client/Code/Core/Core/DispatchListeners.h b/src/Authoring/Client/Code/Core/Core/DispatchListeners.h index 252464e3..075a0c91 100644 --- a/src/Authoring/Client/Code/Core/Core/DispatchListeners.h +++ b/src/Authoring/Client/Code/Core/Core/DispatchListeners.h @@ -277,7 +277,7 @@ public: virtual void OnUndefinedDatainputsFail( const QMultiMap<QString, QPair<qt3dsdm::Qt3DSDMInstanceHandle, - qt3dsdm::Qt3DSDMPropertyHandle>> *map) = 0; + qt3dsdm::Qt3DSDMPropertyHandle>> *map, bool askFromUser) = 0; }; class IDataModelListener |