summaryrefslogtreecommitdiffstats
path: root/src/core/telemetry_session.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-23 06:08:07 +0200
committerbunnei <bunneidev@gmail.com>2017-08-26 05:10:02 +0200
commit9f0da33c3349df47580d93fcd25346be4d2b94a7 (patch)
treed981fbe3cf164598a2459cc02d74e8e9fa8df191 /src/core/telemetry_session.h
parentdefault_ini: Use correct telemetry endpoint URL. (diff)
downloadyuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar.gz
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar.bz2
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar.lz
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar.xz
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.tar.zst
yuzu-9f0da33c3349df47580d93fcd25346be4d2b94a7.zip
Diffstat (limited to 'src/core/telemetry_session.h')
-rw-r--r--src/core/telemetry_session.h12
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:
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