Refactores Factory
This commit is contained in:
@@ -16,11 +16,11 @@ namespace flippR_driver
|
||||
return input::InputDriverFactory::get_InputDriver(input_config_stream, matrix_config_stream);
|
||||
}
|
||||
|
||||
std::shared_ptr<output::OutputDriver> get_OutputDriver(std::istream& lamp_config,
|
||||
std::istream& solenoid_config,
|
||||
std::istream& sound_config,
|
||||
std::istream& display_config)
|
||||
std::shared_ptr<output::OutputDriver> get_OutputDriver(std::string & lamp_config_path,
|
||||
std::string & solenoid_config_path,
|
||||
std::string & sound_config_path,
|
||||
std::string & display_config_path)
|
||||
{
|
||||
return output::OutputDriverFactory::get_OutputDriver(lamp_config, solenoid_config, sound_config, display_config);
|
||||
return output::OutputDriverFactory::get_OutputDriver(lamp_config_path, solenoid_config_path, sound_config_path, display_config_path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user