mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Telemetry events
* Don't trace event on exit change 'PowertoyModuleDeleter' to not call 'module->disable();' before 'module->destroy();' so the module can distinguish between being turned off and PowerToys exiting. Code formatting. * uppercase for event name * Trace on/off event for ShortcutGuide module * Trace the 'hide' event only if the guide was visible 'on_hide()' is invoked when the module is turned off, in that case don't trace the hide event. * Remove spaces in data field names Remove 'ShowGuide' event since it's not providing any useful data. * Include build number in version number
This commit is contained in:
@@ -26,12 +26,14 @@ public:
|
||||
void was_hidden();
|
||||
|
||||
virtual void destroy() override;
|
||||
|
||||
private:
|
||||
TargetState* target_state;
|
||||
D2DOverlayWindow *winkey_popup;
|
||||
bool _enabled = false;
|
||||
|
||||
void init_settings();
|
||||
void disable(bool trace_event);
|
||||
|
||||
struct PressTime {
|
||||
PCWSTR name = L"press_time";
|
||||
|
||||
Reference in New Issue
Block a user