| 189 | } |
| 190 | |
| 191 | static int RunLoaderDelete(Configurator& configurator, const CommandLine& command_line) { |
| 192 | std::string configuration_name; |
| 193 | int result = ::GetConfigurationName(configurator, command_line, false, configuration_name); |
| 194 | if (result != 0) { |
| 195 | return -1; |
| 196 | } |
| 197 | |
| 198 | fprintf(stdout, "vkconfig: `%s` layers configuration deleted.\n\n", configuration_name.c_str()); |
| 199 | |
| 200 | configurator.configurations.RemoveConfiguration(configuration_name); |
| 201 | |
| 202 | return ::RunLoaderList(configurator, command_line); |
| 203 | } |
| 204 | |
| 205 | int run_loader(const CommandLine& command_line) { |
| 206 | assert(command_line.command == COMMAND_LOADER); |
no test coverage detected