mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
FIX: update bambu source api
Change-Id: I1689733af6cd8778f017a732dd36ad91bff80ea8 (cherry picked from commit 40bc2c251e00d6d95289fdd9def11f9e1bd9202f)
This commit is contained in:
parent
00284f52b8
commit
66c5d39e28
3 changed files with 81 additions and 58 deletions
|
@ -174,7 +174,7 @@ private:
|
|||
|
||||
void SendChangedEvent(wxEventType type, size_t index = (size_t)-1, std::string const &str = {}, long extra = 0);
|
||||
|
||||
static void DumpLog(Bambu_Session *session, int level, Bambu_Message const *msg);
|
||||
static void DumpLog(void* context, int level, tchar const *msg);
|
||||
|
||||
private:
|
||||
template<typename T> using Translator = std::function<int(json const &, T &, unsigned char const *)>;
|
||||
|
@ -265,8 +265,9 @@ private:
|
|||
int m_task_flags = 0;
|
||||
|
||||
private:
|
||||
struct Session : Bambu_Session
|
||||
struct Session
|
||||
{
|
||||
Bambu_Tunnel tunnel = nullptr;
|
||||
PrinterFileSystem * owner;
|
||||
};
|
||||
Session m_session;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue