qt: Add an option to view/regenerate telemetry ID.

This commit is contained in:
bunnei 2017-08-23 00:08:07 -04:00
parent 5d7b364a21
commit 9f0da33c33
4 changed files with 40 additions and 7 deletions

View file

@ -35,4 +35,16 @@ private:
std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields
};
/**
* Gets TelemetryId, a unique identifier used for the user's telemetry sessions.
* @returns The current TelemetryId for the session.
*/
u64 GetTelemetryId();
/**
* Regenerates TelemetryId, a unique identifier used for the user's telemetry sessions.
* @returns The new TelemetryId that was generated.
*/
u64 RegenerateTelemetryId();
} // namespace Core