NEW:confirm privacy agreement before binding printer

Change-Id: Iee6776bf533577dd9fd388c3ea2efad27692cf82
This commit is contained in:
tao wang 2023-05-14 14:49:44 +08:00 committed by Lane.Wei
parent 56b9d0fbb3
commit d70a608921
7 changed files with 177 additions and 10 deletions

View file

@ -70,6 +70,8 @@ private:
std::string m_result_info;
std::string m_result_extra;
bool m_show_error_info_state = true;
bool m_allow_privacy{false};
bool m_allow_notice{false};
int m_result_code;
MachineObject * m_machine_info{nullptr};
@ -79,7 +81,8 @@ private:
public:
BindMachineDialog(Plater *plater = nullptr);
~BindMachineDialog();
void link_to_network_check();
void link_to_network_check();
void show_bind_failed_info(bool show, int code = 0, wxString description = wxEmptyString, wxString extra = wxEmptyString);
void on_cancel(wxCommandEvent& event);
void on_bind_fail(wxCommandEvent &event);