2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2015-06-01 15:28:29 +00:00
|
|
|
#include "trick/MalfunctionsTrickView.hh"
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
Trick::MalfunctionsTrickView::MalfunctionsTrickView() {
|
2015-06-01 15:28:29 +00:00
|
|
|
command += std::string("trick-mtv");
|
2015-02-26 15:02:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
std::string Trick::MalfunctionsTrickView::create_arguments_string() {
|
|
|
|
ExternalApplication::create_arguments_string();
|
|
|
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
|
|
|
if (host_source != NONE) {
|
|
|
|
oss << " " << host;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (port_source != NONE) {
|
|
|
|
oss << " " << port;
|
|
|
|
}
|
|
|
|
|
|
|
|
return oss.str();
|
|
|
|
}
|