Skip to content
Snippets Groups Projects
Commit 1148e2ce authored by bunnei's avatar bunnei
Browse files

pctl: GetService should return an IParentalControlService interface.

parent 5bc14ab0
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,16 @@ ...@@ -9,11 +9,16 @@
namespace Service { namespace Service {
namespace PCTL { namespace PCTL {
class IParentalControlService final : public ServiceFramework<IParentalControlService> {
public:
IParentalControlService() : ServiceFramework("IParentalControlService") {}
};
void PCTL_A::GetService(Kernel::HLERequestContext& ctx) { void PCTL_A::GetService(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called"); IPC::RequestBuilder rb{ ctx, 2, 0, 0, 1 };
IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
// TODO(Subv): This should return an IParentalControlService interface. rb.PushIpcInterface<IParentalControlService>();
LOG_DEBUG(Service, "called");
} }
PCTL_A::PCTL_A() : ServiceFramework("pctl:a") { PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment