1.1 --- a/core/systems/ForwardSys.cpp Thu Feb 22 02:05:50 2007 +0000
1.2 +++ b/core/systems/ForwardSys.cpp Thu Feb 22 02:09:46 2007 +0000
1.3 @@ -179,33 +179,7 @@
1.4
1.5 void CForwardManager::OnPluginPauseChange(IPlugin *plugin, bool paused)
1.6 {
1.7 - List<CForward *>::iterator iter;
1.8 - CForward *fwd;
1.9 -
1.10 - if (paused)
1.11 - {
1.12 - for (iter=m_managed.begin(); iter!=m_managed.end(); iter++)
1.13 - {
1.14 - fwd = (*iter);
1.15 - fwd->PushPausedFunctions(plugin);
1.16 - }
1.17 - for (iter=m_unmanaged.begin(); iter!=m_unmanaged.end(); iter++)
1.18 - {
1.19 - fwd = (*iter);
1.20 - fwd->PushPausedFunctions(plugin);
1.21 - }
1.22 - } else {
1.23 - for (iter=m_managed.begin(); iter!=m_managed.end(); iter++)
1.24 - {
1.25 - fwd = (*iter);
1.26 - fwd->PopPausedFunctions(plugin);
1.27 - }
1.28 - for (iter=m_unmanaged.begin(); iter!=m_unmanaged.end(); iter++)
1.29 - {
1.30 - fwd = (*iter);
1.31 - fwd->PopPausedFunctions(plugin);
1.32 - }
1.33 - }
1.34 + /* No longer used */
1.35 }
1.36
1.37 /*************************************
1.38 @@ -705,41 +679,3 @@
1.39 {
1.40 return m_ExecType;
1.41 }
1.42 -
1.43 -void CForward::PushPausedFunctions(IPlugin *plugin)
1.44 -{
1.45 - FuncIter iter;
1.46 - IPluginFunction *func;
1.47 - IPluginContext *pContext = plugin->GetBaseContext();
1.48 -
1.49 - for (iter=m_functions.begin(); iter!=m_functions.end();)
1.50 - {
1.51 - func = (*iter);
1.52 - if (func->GetParentContext() == pContext)
1.53 - {
1.54 - m_paused.push_back(func);
1.55 - iter = m_functions.erase(iter);
1.56 - } else {
1.57 - iter++;
1.58 - }
1.59 - }
1.60 -}
1.61 -
1.62 -void CForward::PopPausedFunctions(IPlugin *plugin)
1.63 -{
1.64 - FuncIter iter;
1.65 - IPluginFunction *func;
1.66 - IPluginContext *pContext = plugin->GetBaseContext();
1.67 -
1.68 - for (iter=m_paused.begin(); iter!=m_paused.end();)
1.69 - {
1.70 - func = (*iter);
1.71 - if (func->GetParentContext() == pContext)
1.72 - {
1.73 - m_functions.push_back(func);
1.74 - iter = m_paused.erase(iter);
1.75 - } else {
1.76 - iter++;
1.77 - }
1.78 - }
1.79 -}