mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-28 03:11:47 +00:00
fix: remove unimplemented pure virtual functions
This commit is contained in:
@@ -1250,22 +1250,6 @@ int OrcaPrinterAgent::bind_detect(std::string dev_ip, std::string /*sec_link*/,
|
|||||||
return BAMBU_NETWORK_SUCCESS;
|
return BAMBU_NETWORK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
int OrcaPrinterAgent::request_bind_ticket(std::string* ticket)
|
|
||||||
{
|
|
||||||
if (ticket)
|
|
||||||
*ticket = "";
|
|
||||||
return BAMBU_NETWORK_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
int OrcaPrinterAgent::get_hms_snapshot(std::string dev_id, std::string file_name, std::function<void(std::string, int)> callback)
|
|
||||||
{
|
|
||||||
// No BBL cloud snapshot source; report failure so the caller falls back.
|
|
||||||
(void) dev_id;
|
|
||||||
(void) file_name;
|
|
||||||
(void) callback;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int OrcaPrinterAgent::set_server_callback(OnServerErrFn fn)
|
int OrcaPrinterAgent::set_server_callback(OnServerErrFn fn)
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock(state_mutex);
|
std::lock_guard<std::mutex> lock(state_mutex);
|
||||||
|
|||||||
@@ -50,16 +50,6 @@ public:
|
|||||||
|
|
||||||
// Binding
|
// Binding
|
||||||
int bind_detect(std::string dev_ip, std::string sec_link, detectResult& detect) override;
|
int bind_detect(std::string dev_ip, std::string sec_link, detectResult& detect) override;
|
||||||
int bind(std::string dev_ip,
|
|
||||||
std::string dev_id,
|
|
||||||
std::string dev_model,
|
|
||||||
std::string sec_link,
|
|
||||||
std::string timezone,
|
|
||||||
bool improved,
|
|
||||||
OnUpdateStatusFn update_fn) override;
|
|
||||||
int unbind(std::string dev_id) override;
|
|
||||||
int request_bind_ticket(std::string* ticket) override;
|
|
||||||
int get_hms_snapshot(std::string dev_id, std::string file_name, std::function<void(std::string, int)> callback) override;
|
|
||||||
int set_server_callback(OnServerErrFn fn) override;
|
int set_server_callback(OnServerErrFn fn) override;
|
||||||
|
|
||||||
// Machine Selection
|
// Machine Selection
|
||||||
@@ -121,6 +111,8 @@ public:
|
|||||||
// Test-only: the same for the (independent) cloud selection epoch.
|
// Test-only: the same for the (independent) cloud selection epoch.
|
||||||
void bump_cloud_generation_for_test() { ++m_cloud_generation; }
|
void bump_cloud_generation_for_test() { ++m_cloud_generation; }
|
||||||
|
|
||||||
|
FilamentSyncMode get_filament_sync_mode() const override { return FilamentSyncMode::subscription; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Forward one inbound printer message to on_message_fn or on_local_message_fn (marshalled onto the UI
|
// Forward one inbound printer message to on_message_fn or on_local_message_fn (marshalled onto the UI
|
||||||
// thread via queue_on_main_fn when set). Body of every connection's MessageHandler.
|
// thread via queue_on_main_fn when set). Body of every connection's MessageHandler.
|
||||||
|
|||||||
Reference in New Issue
Block a user