summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/pctl/parental_control_service_factory.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-22 03:10:49 +0100
committerLiam <byteslice@airmail.cc>2024-02-22 05:00:01 +0100
commit5ab49c833d26b870ee250ef008e4aa1087b46f98 (patch)
tree98f0339353403f8df0fcd7ace6900d8a5f53c40f /src/core/hle/service/pctl/parental_control_service_factory.h
parentpctl: move IParentalControlServiceFactory (diff)
downloadyuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar.gz
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar.bz2
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar.lz
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar.xz
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.tar.zst
yuzu-5ab49c833d26b870ee250ef008e4aa1087b46f98.zip
Diffstat (limited to 'src/core/hle/service/pctl/parental_control_service_factory.h')
-rw-r--r--src/core/hle/service/pctl/parental_control_service_factory.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/service/pctl/parental_control_service_factory.h b/src/core/hle/service/pctl/parental_control_service_factory.h
index 19195aa38..362988add 100644
--- a/src/core/hle/service/pctl/parental_control_service_factory.h
+++ b/src/core/hle/service/pctl/parental_control_service_factory.h
@@ -3,23 +3,24 @@
#pragma once
+#include "core/hle/service/cmif_types.h"
#include "core/hle/service/pctl/pctl_types.h"
#include "core/hle/service/service.h"
-namespace Core {
-class System;
-}
-
namespace Service::PCTL {
+class IParentalControlService;
+
class IParentalControlServiceFactory : public ServiceFramework<IParentalControlServiceFactory> {
public:
explicit IParentalControlServiceFactory(Core::System& system_, const char* name_,
Capability capability_);
~IParentalControlServiceFactory() override;
- void CreateService(HLERequestContext& ctx);
- void CreateServiceWithoutInitialize(HLERequestContext& ctx);
+ Result CreateService(Out<SharedPointer<IParentalControlService>> out_service,
+ ClientProcessId process_id);
+ Result CreateServiceWithoutInitialize(Out<SharedPointer<IParentalControlService>> out_service,
+ ClientProcessId process_id);
private:
Capability capability{};