feat: connect to cloud printer and monitor

This commit is contained in:
Ian Chua
2026-09-01 17:38:52 +08:00
parent d486db6459
commit 6a12aca495
9 changed files with 1020 additions and 32 deletions
+5 -4
View File
@@ -4971,11 +4971,12 @@ bool GUI_App::is_user_login(const std::string& provider/* = ORCA_CLOUD_PROVIDER*
return false;
}
const std::string& GUI_App::get_printer_cloud_provider() const
std::string GUI_App::get_printer_cloud_provider() const
{
// Orca todo: this need to be revisted. currently it is mainly used for device manager and related clausses and only bambu machines use them.
//
return BBL_CLOUD_PROVIDER;
std::string provider = preset_bundle->printers.get_edited_preset().config.opt_string("printer_agent");
if (provider.empty())
provider = ORCA_CLOUD_PROVIDER;
return provider;
}