| 2161 | } |
| 2162 | |
| 2163 | void ExternalCommandProcessor::ChangeCustomNotificationcommandVar(double, const std::vector<String>& arguments) |
| 2164 | { |
| 2165 | NotificationCommand::Ptr command = NotificationCommand::GetByName(arguments[0]); |
| 2166 | |
| 2167 | if (!command) |
| 2168 | BOOST_THROW_EXCEPTION(std::invalid_argument("Cannot change custom var for non-existent command '" + arguments[0] + "'")); |
| 2169 | |
| 2170 | ChangeCustomCommandVarInternal(command, arguments[1], arguments[2]); |
| 2171 | } |
| 2172 | |
| 2173 | void ExternalCommandProcessor::ChangeCustomCommandVarInternal(const Command::Ptr& command, const String& name, const Value& value) |
| 2174 | { |
nothing calls this directly
no outgoing calls
no test coverage detected