mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-05 06:14:25 +00:00
[idd] ipc/helper: notify the helper if a software renderer is in use
This commit is contained in:
committed by
Geoffrey McRae
parent
b3701992c1
commit
37bb89f490
@@ -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();
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user