mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
fix Windows build
This commit is contained in:
@@ -205,12 +205,7 @@ int BBLPrinterAgent::set_user_selected_machine(std::string dev_id)
|
||||
// ============================================================================
|
||||
AgentInfo BBLPrinterAgent::get_agent_info_static()
|
||||
{
|
||||
return AgentInfo{
|
||||
.id = BBL_PRINTER_AGENT_ID,
|
||||
.name = "Bambu Lab Printer Agent",
|
||||
.version = "",
|
||||
.description = "Bambu Lab printer agent"
|
||||
};
|
||||
return AgentInfo{BBL_PRINTER_AGENT_ID, "Bambu Lab Printer Agent", "", "Bambu Lab printer agent"};
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -101,10 +101,7 @@ MoonrakerPrinterAgent::~MoonrakerPrinterAgent()
|
||||
|
||||
AgentInfo MoonrakerPrinterAgent::get_agent_info_static()
|
||||
{
|
||||
return AgentInfo{.id = "moonraker",
|
||||
.name = "Moonraker Printer Agent",
|
||||
.version = MoonrakerPrinterAgent_VERSION,
|
||||
.description = "Klipper/Moonraker printer agent"};
|
||||
return AgentInfo{"moonraker", "Moonraker Printer Agent", MoonrakerPrinterAgent_VERSION, "Klipper/Moonraker printer agent"};
|
||||
}
|
||||
|
||||
void MoonrakerPrinterAgent::set_cloud_agent(std::shared_ptr<ICloudServiceAgent> cloud)
|
||||
|
||||
@@ -124,10 +124,7 @@ int OrcaPrinterAgent::set_user_selected_machine(std::string dev_id)
|
||||
// ============================================================================
|
||||
AgentInfo OrcaPrinterAgent::get_agent_info_static()
|
||||
{
|
||||
return AgentInfo{.id = ORCA_PRINTER_AGENT_ID,
|
||||
.name = "Orca Printer Agent",
|
||||
.version = OrcaPrinterAgent_VERSION,
|
||||
.description = "Orca Printer Communication Protocol Agent"};
|
||||
return AgentInfo{ORCA_PRINTER_AGENT_ID, "Orca Printer Agent", OrcaPrinterAgent_VERSION, "Orca Printer Communication Protocol Agent"};
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -18,7 +18,7 @@ QidiPrinterAgent::QidiPrinterAgent(std::string log_dir) : MoonrakerPrinterAgent(
|
||||
|
||||
AgentInfo QidiPrinterAgent::get_agent_info_static()
|
||||
{
|
||||
return AgentInfo{.id = "qidi", .name = "Qidi Printer Agent", .version = QidiPrinterAgent_VERSION, .description = "Qidi printer agent"};
|
||||
return AgentInfo{"qidi", "Qidi Printer Agent", QidiPrinterAgent_VERSION, "Qidi printer agent"};
|
||||
}
|
||||
|
||||
bool QidiPrinterAgent::fetch_filament_info(std::string dev_id)
|
||||
|
||||
Reference in New Issue
Block a user