Other: added 'All Mail Visible' toggle in bridge-gui-tester.

This commit is contained in:
Xavier Michelon
2022-09-15 12:22:46 +02:00
parent 43ac21fd66
commit 8a7c56e8fd
7 changed files with 101 additions and 15 deletions

View File

@ -184,6 +184,30 @@ Status GRPCService::IsBetaEnabled(ServerContext *, Empty const *, BoolValue *res
}
//****************************************************************************************************************************************************
/// \param[in] request The request.
/// \return The status for the call.
//****************************************************************************************************************************************************
Status GRPCService::SetIsAllMailVisible(ServerContext *, BoolValue const *request, Empty *)
{
app().log().debug(__FUNCTION__);
qtProxy_.setIsAllMailVisible(request->value());
return Status::OK;
}
//****************************************************************************************************************************************************
/// \param[out] response The response.
/// \return The status for the call.
//****************************************************************************************************************************************************
Status GRPCService::IsAllMailVisible(ServerContext *, Empty const *request, BoolValue *response)
{
app().log().debug(__FUNCTION__);
response->set_value(app().mainWindow().settingsTab().isAllMailVisible());
return Status::OK;
}
//****************************************************************************************************************************************************
/// \param[out] response The response.
/// \return The status for the call.