[idd] helper: send message over pipe when settings changed

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2026-06-06 02:30:43 +10:00
1 parent e4e211f07a
commit 0664e510a2
8 files changed
+50 -9

No files matched your search

+5
View File
@@ -20,6 +20,7 @@
#pragma once
#include "CWindow.h"
#include <functional>
#include <memory>
#include <optional>
@@ -37,6 +38,8 @@ class CNotifyWindow : public CWindow
bool closeRequested;
std::unique_ptr<CConfigWindow> m_config;
std::function<void()> m_onSettingChange;
LRESULT onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y);
void registerIcon();
void handleGPUNotification(bool hasGPU);
@@ -69,4 +72,6 @@ public:
HWND hwndDialog();
void close();
void onSettingChange(std::function<void()> func) { m_onSettingChange = std::move(func); }
};