| 154 | } |
| 155 | |
| 156 | std::unique_ptr<ControllerProviderSettings> InputAPIAddWindow::get_settings() const |
| 157 | { |
| 158 | if (!has_custom_settings()) |
| 159 | return {}; |
| 160 | |
| 161 | return std::make_unique<DSUProviderSettings>(m_ip->GetValue().ToStdString(), |
| 162 | ConvertString<uint16>(m_port->GetValue().ToStdString())); |
| 163 | } |
| 164 | |
| 165 | void InputAPIAddWindow::on_api_selected(wxCommandEvent& event) |
| 166 | { |
no test coverage detected