Inject Config:

* Use dependency injections instead
* Remove deprecated fee interfaces
This commit is contained in:
Nik Bougalis
2015-09-18 12:15:12 -07:00
committed by Vinnie Falco
parent c7b3153958
commit fa796a2eb5
57 changed files with 541 additions and 688 deletions

View File

@@ -70,7 +70,7 @@ std::string StopSustain ()
return "Terminating monitor";
}
std::string DoSustain (std::string const& logFile)
std::string DoSustain ()
{
pManager = getpid ();
signal (SIGINT, stop_manager);
@@ -111,8 +111,6 @@ std::string DoSustain (std::string const& logFile)
auto pc = std::to_string (pChild);
rename ("core", ("core." + pc).c_str ());
if (!logFile.empty()) // FIXME: logFile hasn't been set yet
rename (logFile.c_str(), (logFile + "." + pc).c_str ());
}
}
@@ -123,7 +121,7 @@ bool HaveSustain ()
return false;
}
std::string DoSustain (const std::string&)
std::string DoSustain ()
{
return "";
}