/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/runner/trace.h
21 строка
764 B
Shawn Yuan
Add telemetry for tray icon (#44985)
26 янв 2026, 04:44
Не верифицирован
26 янв 2026, 04:44
4ba6fd2
Код
Авторство
О чём код?
#pragma once #include <common/Telemetry/TraceBase.h> struct GeneralSettings; class Trace : public telemetry::TraceBase { public: static void EventLaunch(const std::wstring& versionNumber, bool isProcessElevated); static void SettingsChanged(const GeneralSettings& settings); // Auto-update telemetry static void UpdateCheckCompleted(bool success, bool updateAvailable, const std::wstring& fromVersion, const std::wstring& toVersion); static void UpdateDownloadCompleted(bool success, const std::wstring& version); // Tray icon interaction telemetry static void TrayIconLeftClick(bool quickAccessEnabled); static void TrayIconDoubleClick(bool quickAccessEnabled); static void TrayIconRightClick(bool quickAccessEnabled); };