diff options
Diffstat (limited to 'src/core/telemetry_session.h')
| -rw-r--r-- | src/core/telemetry_session.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/telemetry_session.h b/src/core/telemetry_session.h index cf53835c3..65613daae 100644 --- a/src/core/telemetry_session.h +++ b/src/core/telemetry_session.h | |||
| @@ -35,4 +35,16 @@ private: | |||
| 35 | std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields | 35 | std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | /** | ||
| 39 | * Gets TelemetryId, a unique identifier used for the user's telemetry sessions. | ||
| 40 | * @returns The current TelemetryId for the session. | ||
| 41 | */ | ||
| 42 | u64 GetTelemetryId(); | ||
| 43 | |||
| 44 | /** | ||
| 45 | * Regenerates TelemetryId, a unique identifier used for the user's telemetry sessions. | ||
| 46 | * @returns The new TelemetryId that was generated. | ||
| 47 | */ | ||
| 48 | u64 RegenerateTelemetryId(); | ||
| 49 | |||
| 38 | } // namespace Core | 50 | } // namespace Core |