| 485 | } |
| 486 | |
| 487 | bool CForward::IsFunctionRegistered(IPluginFunction *func) |
| 488 | { |
| 489 | ReentrantList<IPluginFunction *> *lst; |
| 490 | if (func->IsRunnable()) |
| 491 | lst = &m_functions; |
| 492 | else |
| 493 | lst = &m_paused; |
| 494 | |
| 495 | for (FuncIter iter(lst); !iter.done(); iter.next()) { |
| 496 | if ((*iter) == func) |
| 497 | return true; |
| 498 | } |
| 499 | return false; |
| 500 | } |
| 501 | |
| 502 | const char *CForward::GetForwardName() |
| 503 | { |
no test coverage detected