mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH:add network detection for LAN mode printer
Change-Id: I0e3616b08f1a455df05c98c3b194ff9177df3ff1
This commit is contained in:
parent
9936c2b823
commit
c000ab2d8a
7 changed files with 29 additions and 16 deletions
|
@ -404,7 +404,7 @@ public:
|
|||
std::string dev_connection_type; /* lan | cloud */
|
||||
std::string connection_type() { return dev_connection_type; }
|
||||
void set_dev_ip(std::string ip) {dev_ip = ip;};
|
||||
bool has_access_right() { return !access_code.empty(); }
|
||||
bool has_access_right() { return !get_access_code().empty(); }
|
||||
void set_access_code(std::string code);
|
||||
std::string get_access_code();
|
||||
void set_user_access_code(std::string code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue