mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-30 05:21:51 -06:00
ENH:add network verification process for LAN printing
Change-Id: I0a9e9fa5e9746f5ceb989b00c6b44e812d071132
This commit is contained in:
parent
088668994c
commit
a94b78d296
5 changed files with 71 additions and 14 deletions
|
@ -29,6 +29,8 @@ class PrintJob : public PlaterJob
|
|||
std::string m_dev_id;
|
||||
bool m_job_finished{ false };
|
||||
int m_print_job_completed_id = 0;
|
||||
std::function<void()> m_enter_ip_address_fun_fail{ nullptr };
|
||||
std::function<void()> m_enter_ip_address_fun_success{ nullptr };
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -78,6 +80,8 @@ public:
|
|||
void process() override;
|
||||
void finalize() override;
|
||||
void set_project_name(std::string name);
|
||||
void on_check_ip_address_fail(std::function<void()> func);
|
||||
void on_check_ip_address_success(std::function<void()> func);
|
||||
};
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue