mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
ENH: [STUDIO-2759] network queue on main thread
Change-Id: Ie1fa855b354047ab015c801cae5df7271e844e58
This commit is contained in:
parent
5a7aa74e62
commit
8dae5b6980
5 changed files with 26 additions and 3 deletions
|
@ -79,8 +79,7 @@ namespace BBL {
|
|||
|
||||
#define BAMBU_NETWORK_LIBRARY "bambu_networking"
|
||||
#define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent"
|
||||
#define BAMBU_NETWORK_AGENT_VERSION "01.06.01.01"
|
||||
|
||||
#define BAMBU_NETWORK_AGENT_VERSION "01.06.05.01"
|
||||
|
||||
//iot preset type strings
|
||||
#define IOT_PRINTER_TYPE_STRING "printer"
|
||||
|
@ -112,6 +111,8 @@ typedef std::function<void(int status, int code, std::string msg)> OnUpdateStatu
|
|||
typedef std::function<bool()> WasCancelledFn;
|
||||
// local callbacks
|
||||
typedef std::function<void(std::string dev_info_json_str)> OnMsgArrivedFn;
|
||||
// queue call to main thread
|
||||
typedef std::function<void(std::function<void()>)> QueueOnMainFn;
|
||||
|
||||
typedef std::function<void(int progress)> ProgressFn;
|
||||
typedef std::function<void(int retcode, std::string info)> LoginFn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue