mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 21:36:57 +00:00
Add support for PrusaLink webview
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define slic3r_Events_hpp_
|
||||
|
||||
#include <array>
|
||||
#include <wx/debug.h>
|
||||
#include <wx/event.h>
|
||||
|
||||
|
||||
@@ -86,6 +87,27 @@ template<class T> struct Event : public wxEvent
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class LoadPrinterViewEvent : public wxCommandEvent
|
||||
{
|
||||
public:
|
||||
LoadPrinterViewEvent(wxEventType commandType = wxEVT_NULL, int winid = 0)
|
||||
: wxCommandEvent(commandType, winid)
|
||||
{ }
|
||||
|
||||
LoadPrinterViewEvent(const LoadPrinterViewEvent& event)
|
||||
: wxCommandEvent(event)
|
||||
{ m_APIkey = event.m_APIkey; }
|
||||
|
||||
const wxString& GetAPIkey() const { return m_APIkey; }
|
||||
void SetAPIkey(const wxString& apikey) { m_APIkey = apikey; }
|
||||
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new LoadPrinterViewEvent(*this); }
|
||||
|
||||
private:
|
||||
wxString m_APIkey;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user