diff --git a/core/systems/ForwardSys.cpp b/core/systems/ForwardSys.cpp index 3ce93a1e..376beaf3 100644 --- a/core/systems/ForwardSys.cpp +++ b/core/systems/ForwardSys.cpp @@ -179,33 +179,7 @@ CForward *CForwardManager::ForwardMake() void CForwardManager::OnPluginPauseChange(IPlugin *plugin, bool paused) { - List::iterator iter; - CForward *fwd; - - if (paused) - { - for (iter=m_managed.begin(); iter!=m_managed.end(); iter++) - { - fwd = (*iter); - fwd->PushPausedFunctions(plugin); - } - for (iter=m_unmanaged.begin(); iter!=m_unmanaged.end(); iter++) - { - fwd = (*iter); - fwd->PushPausedFunctions(plugin); - } - } else { - for (iter=m_managed.begin(); iter!=m_managed.end(); iter++) - { - fwd = (*iter); - fwd->PopPausedFunctions(plugin); - } - for (iter=m_unmanaged.begin(); iter!=m_unmanaged.end(); iter++) - { - fwd = (*iter); - fwd->PopPausedFunctions(plugin); - } - } + /* No longer used */ } /************************************* @@ -705,41 +679,3 @@ ExecType CForward::GetExecType() const { return m_ExecType; } - -void CForward::PushPausedFunctions(IPlugin *plugin) -{ - FuncIter iter; - IPluginFunction *func; - IPluginContext *pContext = plugin->GetBaseContext(); - - for (iter=m_functions.begin(); iter!=m_functions.end();) - { - func = (*iter); - if (func->GetParentContext() == pContext) - { - m_paused.push_back(func); - iter = m_functions.erase(iter); - } else { - iter++; - } - } -} - -void CForward::PopPausedFunctions(IPlugin *plugin) -{ - FuncIter iter; - IPluginFunction *func; - IPluginContext *pContext = plugin->GetBaseContext(); - - for (iter=m_paused.begin(); iter!=m_paused.end();) - { - func = (*iter); - if (func->GetParentContext() == pContext) - { - m_functions.push_back(func); - iter = m_paused.erase(iter); - } else { - iter++; - } - } -} diff --git a/core/systems/ForwardSys.h b/core/systems/ForwardSys.h index db283fde..27c5868b 100644 --- a/core/systems/ForwardSys.h +++ b/core/systems/ForwardSys.h @@ -70,8 +70,6 @@ public: unsigned int num_params, ParamType *types, va_list ap); - void PushPausedFunctions(IPlugin *plugin); - void PopPausedFunctions(IPlugin *plugin); private: void _Int_PushArray(cell_t *inarray, unsigned int cells, int flags); void _Int_PushString(cell_t *inarray, unsigned int cells, int sz_flags, int cp_flags); @@ -85,7 +83,6 @@ protected: * Destroying these things and using new/delete for their members feels bad. */ mutable List m_functions; - List m_paused; /* Type and name information */ FwdParamInfo m_params[SP_MAX_EXEC_PARAMS];