diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-29 03:12:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-29 04:28:15 +0200 |
commit | 215fd827384904f1cb7fa689ff8cd3f61dbbd007 (patch) | |
tree | 3c5d144f741228e966e13b576bfa0cadbaebd5fa /src/core/telemetry_session.h | |
parent | core/telemetry_session: Explicitly delete copy and move constructors (diff) | |
download | yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.gz yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.bz2 yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.lz yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.xz yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.zst yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/telemetry_session.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/core/telemetry_session.h b/src/core/telemetry_session.h index 7d0c8d413..17ac22377 100644 --- a/src/core/telemetry_session.h +++ b/src/core/telemetry_session.h @@ -7,6 +7,10 @@ #include <string> #include "common/telemetry.h" +namespace Loader { +class AppLoader; +} + namespace Core { /** @@ -16,7 +20,7 @@ namespace Core { */ class TelemetrySession { public: - TelemetrySession(); + explicit TelemetrySession(); ~TelemetrySession(); TelemetrySession(const TelemetrySession&) = delete; @@ -26,6 +30,22 @@ public: TelemetrySession& operator=(TelemetrySession&&) = delete; /** + * Adds the initial telemetry info necessary when starting up a title. + * + * This includes information such as: + * - Telemetry ID + * - Initialization time + * - Title ID + * - Title name + * - Title file format + * - Miscellaneous settings values. + * + * @param app_loader The application loader to use to retrieve + * title-specific information. + */ + void AddInitialInfo(Loader::AppLoader& app_loader); + + /** * Wrapper around the Telemetry::FieldCollection::AddField method. * @param type Type of the field to add. * @param name Name of the field to add. |