-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Expand file tree
/
Copy pathtrace.h
More file actions
21 lines (16 loc) · 764 Bytes
/
trace.h
File metadata and controls
21 lines (16 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);
};