diff options
Diffstat (limited to 'src/core/telemetry_session.h')
| -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 @@ | |||
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include "common/telemetry.h" | 8 | #include "common/telemetry.h" |
| 9 | 9 | ||
| 10 | namespace Loader { | ||
| 11 | class AppLoader; | ||
| 12 | } | ||
| 13 | |||
| 10 | namespace Core { | 14 | namespace Core { |
| 11 | 15 | ||
| 12 | /** | 16 | /** |
| @@ -16,7 +20,7 @@ namespace Core { | |||
| 16 | */ | 20 | */ |
| 17 | class TelemetrySession { | 21 | class TelemetrySession { |
| 18 | public: | 22 | public: |
| 19 | TelemetrySession(); | 23 | explicit TelemetrySession(); |
| 20 | ~TelemetrySession(); | 24 | ~TelemetrySession(); |
| 21 | 25 | ||
| 22 | TelemetrySession(const TelemetrySession&) = delete; | 26 | TelemetrySession(const TelemetrySession&) = delete; |
| @@ -26,6 +30,22 @@ public: | |||
| 26 | TelemetrySession& operator=(TelemetrySession&&) = delete; | 30 | TelemetrySession& operator=(TelemetrySession&&) = delete; |
| 27 | 31 | ||
| 28 | /** | 32 | /** |
| 33 | * Adds the initial telemetry info necessary when starting up a title. | ||
| 34 | * | ||
| 35 | * This includes information such as: | ||
| 36 | * - Telemetry ID | ||
| 37 | * - Initialization time | ||
| 38 | * - Title ID | ||
| 39 | * - Title name | ||
| 40 | * - Title file format | ||
| 41 | * - Miscellaneous settings values. | ||
| 42 | * | ||
| 43 | * @param app_loader The application loader to use to retrieve | ||
| 44 | * title-specific information. | ||
| 45 | */ | ||
| 46 | void AddInitialInfo(Loader::AppLoader& app_loader); | ||
| 47 | |||
| 48 | /** | ||
| 29 | * Wrapper around the Telemetry::FieldCollection::AddField method. | 49 | * Wrapper around the Telemetry::FieldCollection::AddField method. |
| 30 | * @param type Type of the field to add. | 50 | * @param type Type of the field to add. |
| 31 | * @param name Name of the field to add. | 51 | * @param name Name of the field to add. |