/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/common/notifications/NotificationUtil.h
22 строки
501 B
Davide Giacometti
[Common]NotificationUtil helper class with FileWatcher (#36720)
19 янв 2025, 18:19
Не верифицирован
19 янв 2025, 18:19
9e1242e
Код
Авторство
О чём код?
#pragma once #include <common/SettingsAPI/FileWatcher.h> namespace notifications { class NotificationUtil { public: NotificationUtil(); ~NotificationUtil(); void WarnIfElevationIsRequired(std::wstring title, std::wstring message, std::wstring button1, std::wstring button2); private: std::unique_ptr<FileWatcher> m_settingsFileWatcher; bool m_warningsElevatedApps; bool m_warningShown = false; void ReadSettings(); }; }