[idd] ipc/helper: notify the helper if a software renderer is in use

This commit is contained in:
Geoffrey McRae authored and Geoffrey McRae committed 2026-06-04 01:45:35 +10:00
1 parent b3701992c1
commit 37bb89f490
12 files changed
+63 -161

No files matched your search

+18 -3
View File
@@ -36,7 +36,7 @@ class CNotifyWindow : public CWindow
LRESULT onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y);
void registerIcon();
void noGPUNotification();
void handleNoGPUNotification();
virtual LRESULT handleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam) override;
virtual LRESULT onCreate() override;
@@ -44,11 +44,26 @@ class CNotifyWindow : public CWindow
virtual LRESULT onDestroy() override;
virtual LRESULT onFinal() override;
public:
CNotifyWindow();
~CNotifyWindow() override;
public:
CNotifyWindow(const CNotifyWindow&) = delete;
CNotifyWindow& operator=(const CNotifyWindow&) = delete;
CNotifyWindow(CNotifyWindow&&) = delete;
CNotifyWindow& operator=(CNotifyWindow&&) = delete;
static CNotifyWindow& instance()
{
static CNotifyWindow window;
return window;
}
static bool registerClass();
void noGPUNotification();
HWND hwndDialog();
void close();
};
};