27 #include <wx/window.h>
30 #include "model/sys_events.h"
38 virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam,
40 if (nMsg == WM_DEVICECHANGE) {
41 wxLogDebug(
"WM_DEVICECHANGE %x %x", wParam, lParam);
42 if (wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE) {
46 return wxFrame::MSWWindowProc(nMsg, wParam, lParam);
50 void WinUsbWatchDaemon::Start() {
57 void WinUsbWatchDaemon::Stop() {
const void Notify()
Notify all listeners, no data supplied.
EventVar evt_dev_change
Notified when a new or removed device is detected, usually an USB hotplug event:
wxWindow * GetTopWindow()
Return the top level window a k a gFrame.
Hooks int gui available in model.
Windows specific hardware events interface.