| 660 | } |
| 661 | |
| 662 | bool CustomFunctionInjector::QueryWrapper(DivFunctions::CallProc next, uint32_t handle, OsiArgumentDesc * params) |
| 663 | { |
| 664 | auto it = osiToDivMappings_.find(handle); |
| 665 | if (it != osiToDivMappings_.end()) { |
| 666 | return functions_.Query(it->second, *params); |
| 667 | } else { |
| 668 | return next(handle, params); |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void CustomFunctionInjector::ExtendStoryHeader(std::wstring const & headerPath) |
| 673 | { |
no test coverage detected