From 2c2f18ec68e90713b8e4cd169987aa10d726b352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pasi=20Kera=CC=88nen?= Date: Mon, 29 Apr 2019 11:46:50 +0300 Subject: Remove remaining state machine code Remove state machine code and .uia file statemachine part. Task-number: QT3DS-2846 Change-Id: Id4b74c296f9be4067e78906937dcb9086e60b949 Reviewed-by: Miikka Heikkinen --- src/Authoring/Studio/Application/ProjectFile.cpp | 9 --------- src/Runtime/Source/runtime/Qt3DSApplication.cpp | 2 -- src/Runtime/Source/state/Qt3DSState.h | 14 -------------- src/Runtime/Source/state/Qt3DSStateScriptContext.h | 5 ----- 4 files changed, 30 deletions(-) diff --git a/src/Authoring/Studio/Application/ProjectFile.cpp b/src/Authoring/Studio/Application/ProjectFile.cpp index 11d4985c..809f3b70 100644 --- a/src/Authoring/Studio/Application/ProjectFile.cpp +++ b/src/Authoring/Studio/Application/ProjectFile.cpp @@ -387,15 +387,6 @@ void ProjectFile::create(const QString &uiaPath) QDomDocument domDoc; domDoc.setContent(QStringLiteral("" "" - "" - "" - "" - "" - "" - "" - "" - "" - "" "")); QSaveFile file(uiaPath); diff --git a/src/Runtime/Source/runtime/Qt3DSApplication.cpp b/src/Runtime/Source/runtime/Qt3DSApplication.cpp index a1d5812d..a48f0c03 100644 --- a/src/Runtime/Source/runtime/Qt3DSApplication.cpp +++ b/src/Runtime/Source/runtime/Qt3DSApplication.cpp @@ -579,7 +579,6 @@ struct SApp : public IApplication nvvector> m_MainThreadRunnables; NVScopedRefCounted m_AppLoadContext; bool m_HideFPS; - bool m_DisableState; bool m_ProfileLogging; bool m_LastRenderWasDirty; QT3DSU64 m_LastFrameStartTime; @@ -629,7 +628,6 @@ struct SApp : public IApplication , m_MainThreadRunnables(inFactory.GetFoundation().getAllocator(), "SApp::m_MainThreadRunnables") , m_HideFPS(true) - , m_DisableState(true) , m_ProfileLogging(false) , m_LastRenderWasDirty(true) , m_LastFrameStartTime(0) diff --git a/src/Runtime/Source/state/Qt3DSState.h b/src/Runtime/Source/state/Qt3DSState.h index b5686c25..7f10f941 100644 --- a/src/Runtime/Source/state/Qt3DSState.h +++ b/src/Runtime/Source/state/Qt3DSState.h @@ -88,20 +88,6 @@ namespace state { class IEditor; class IEditorObject; } - - namespace debugger { - class IDebugOutStream; - struct STransitionId; - class IStateMachineListener; - class IStateMachineDebugInterface; - class IDebugger; - struct SDebugPropertyDeclaration; - class IDebuggedInterpreter; - class IDebuggerMasterListener; - class IDebuggedInterpreter; - struct SMicrostep; - class IScriptStateListener; - } } } diff --git a/src/Runtime/Source/state/Qt3DSStateScriptContext.h b/src/Runtime/Source/state/Qt3DSStateScriptContext.h index 110770a1..49b119ea 100644 --- a/src/Runtime/Source/state/Qt3DSStateScriptContext.h +++ b/src/Runtime/Source/state/Qt3DSStateScriptContext.h @@ -117,11 +117,6 @@ namespace state { virtual void SetInterpreter(IStateInterpreter &inInterpreter) = 0; virtual CRegisteredString GetContextType() { return CRegisteredString(); } - - // Dumps a differential state from the last time someone asked. This is a debug interface; - // not meant to be used - // by multiple listeners concurrently. - virtual void DumpState(debugger::IScriptStateListener &inListener) = 0; }; } } -- cgit v1.2.3