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

This commit is contained in:
Geoffrey McRae
2026-06-03 22:25:07 +10:00
committed by Geoffrey McRae
parent b3701992c1
commit 37bb89f490
12 changed files with 63 additions and 161 deletions

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();
};
};