NoGUI: Add ConfirmMessage() to platform

This commit is contained in:
Connor McLaughlin
2022-08-27 19:00:31 +10:00
parent d2d2e3ae6e
commit c90e2f19fc
10 changed files with 35 additions and 11 deletions

View File

@@ -43,9 +43,13 @@ bool VTYNoGUIPlatform::Initialize()
void VTYNoGUIPlatform::ReportError(const std::string_view& title, const std::string_view& message)
{
const std::string title_copy(title);
const std::string message_copy(message);
Log_ErrorPrintf("%s: %s", title_copy.c_str(), message_copy.c_str());
// not implemented
}
bool VTYNoGUIPlatform::ConfirmMessage(const std::string_view& title, const std::string_view& message)
{
// not implemented
return true;
}
void VTYNoGUIPlatform::SetDefaultConfig(SettingsInterface& si)