mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-14 16:58:00 +03:00
Stub IParentalControlService::Initialize
This is used in newer SDKs in favour of initialising on creation with IParentalControlServiceFactory::CreateServiceOld.
This commit is contained in:
parent
af5ee96b9a
commit
e1ca24d35f
@ -5,4 +5,8 @@
|
|||||||
|
|
||||||
namespace skyline::service::pctl {
|
namespace skyline::service::pctl {
|
||||||
IParentalControlService::IParentalControlService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
IParentalControlService::IParentalControlService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
||||||
|
|
||||||
|
Result IParentalControlService::Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,14 @@ namespace skyline::service::pctl {
|
|||||||
class IParentalControlService : public BaseService {
|
class IParentalControlService : public BaseService {
|
||||||
public:
|
public:
|
||||||
IParentalControlService(const DeviceState &state, ServiceManager &manager);
|
IParentalControlService(const DeviceState &state, ServiceManager &manager);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Initialises the parental control service instance
|
||||||
|
*/
|
||||||
|
Result Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
SERVICE_DECL(
|
||||||
|
SFUNC(0x1, IParentalControlService, Initialize)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ namespace skyline::service::pctl {
|
|||||||
IParentalControlServiceFactory(const DeviceState &state, ServiceManager &manager);
|
IParentalControlServiceFactory(const DeviceState &state, ServiceManager &manager);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Creates and initializes an IParentalControlService instance that can be used to read parental control configuration
|
* @brief Creates and initializes (if 0x0) an IParentalControlService instance that can be used to read parental control configuration
|
||||||
*/
|
*/
|
||||||
Result CreateService(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result CreateService(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user