Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2020-03-13 16:19:02 +0300
committerbubnikv <bubnikv@gmail.com>2020-03-13 16:19:14 +0300
commit2f6326a2ebe519beb86dde4883f8f1493d0c0a6b (patch)
tree1a42697f0bee006532819775b4adca9fcb6f1269 /src/slic3r/GUI/MainFrame.hpp
parent3684eea53ddaa049a72d958079efc6c05fa33b66 (diff)
Windows specific refactoring of Mouse3DController and RemovableDriveManager.
PrusaSlicer newly registers by Windows operating system for HID USB plug / unplug notifications and for Volume attach / detach notifications, and the background threads of the two respective services are waken up on these Windows notifications. The RemovableDriveManager also wakes up every 30 seconds to cope with the drives ejected from Windows Explorer or from another application, for example Cura, for which Windows OS does not send out notifications.
Diffstat (limited to 'src/slic3r/GUI/MainFrame.hpp')
-rw-r--r--src/slic3r/GUI/MainFrame.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/MainFrame.hpp b/src/slic3r/GUI/MainFrame.hpp
index 2ccd77666..8c8b98090 100644
--- a/src/slic3r/GUI/MainFrame.hpp
+++ b/src/slic3r/GUI/MainFrame.hpp
@@ -141,6 +141,10 @@ public:
wxNotebook* m_tabpanel { nullptr };
wxProgressDialog* m_progress_dialog { nullptr };
std::shared_ptr<ProgressStatusBar> m_statusbar;
+
+#ifdef _WIN32
+ void* m_hDeviceNotify { nullptr };
+#endif // _WIN32
};
} // GUI