summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns/pdm_qry.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-17 20:49:47 +0100
committerLiam <byteslice@airmail.cc>2024-02-18 16:35:39 +0100
commit4cdf18095d8f049d9bf19d22e8915032c6b4d738 (patch)
tree9be4ad9772d06cb767085d9b1e65344307bd5d66 /src/core/hle/service/ns/pdm_qry.h
parentns: rewrite IServiceGetterInterface (diff)
downloadyuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar.gz
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar.bz2
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar.lz
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar.xz
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.tar.zst
yuzu-4cdf18095d8f049d9bf19d22e8915032c6b4d738.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/ns/query_service.h (renamed from src/core/hle/service/ns/pdm_qry.h)12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/ns/pdm_qry.h b/src/core/hle/service/ns/query_service.h
index c98e01660..6cdbfa277 100644
--- a/src/core/hle/service/ns/pdm_qry.h
+++ b/src/core/hle/service/ns/query_service.h
@@ -3,6 +3,8 @@
#pragma once
+#include "common/uuid.h"
+#include "core/hle/service/cmif_types.h"
#include "core/hle/service/service.h"
namespace Service::NS {
@@ -20,13 +22,15 @@ struct PlayStatistics {
};
static_assert(sizeof(PlayStatistics) == 0x28, "PlayStatistics is an invalid size");
-class PDM_QRY final : public ServiceFramework<PDM_QRY> {
+class IQueryService final : public ServiceFramework<IQueryService> {
public:
- explicit PDM_QRY(Core::System& system_);
- ~PDM_QRY() override;
+ explicit IQueryService(Core::System& system_);
+ ~IQueryService() override;
private:
- void QueryPlayStatisticsByApplicationIdAndUserAccountId(HLERequestContext& ctx);
+ Result QueryPlayStatisticsByApplicationIdAndUserAccountId(
+ Out<PlayStatistics> out_play_statistics, bool unknown, Common::UUID account_id,
+ u64 application_id);
};
} // namespace Service::NS