10 #include "../kernel/event.h"
11 #include "../sf/service.h"
15 bool sns_post_restriction;
16 bool free_communication_restriction;
Result pctlResetConfirmedStereoVisionPermission(void)
Reset the confirmation done by pctlConfirmStereoVisionPermission. Only available with [5....
Service * pctlGetServiceSession_Service(void)
Gets the Service object for IParentalControlService.
Result pctlInitialize(void)
Initialize pctl.
Result pctlGetSynchronizationEvent(Event *out_event)
Returns the synchronization event.
Result pctlGetUnlinkedEvent(Event *out_event)
Returns the unlinked event.
Result pctlGetFreeCommunicationApplicationListCount(u32 *count)
Gets the count of applications that have free communication.
Service * pctlGetServiceSession(void)
Gets the Service object for the actual pctl service session.
Result pctlGetPlayTimerEventToRequestSuspension(Event *out_event)
Returns the supension event.
Result pctlIsRestrictionTemporaryUnlocked(bool *flag)
Gets whether Parental Controls restrictions are temporarily unlocked.
Result pctlConfirmStereoVisionPermission(void)
Confirm whether VrMode is allowed. Only available with [4.0.0+].
Result pctlGetSafetyLevel(u32 *safety_level)
Gets whether Parental Controls are enabled.
Result pctlIsPairingActive(bool *flag)
Confirm whether pairing is active.
Result pctlIsRestrictionEnabled(bool *flag)
Gets whether Parental Controls are enabled.
void pctlExit(void)
Exit pctl.
Result pctlIsStereoVisionPermitted(bool *flag)
Gets whether VrMode is allowed. Only available with [5.0.0+].
Result pctlGetCurrentSettings(PctlRestrictionSettings *settings)
Returns the current restrictions settings.
Result pctlIsPlayTimerAlarmDisabled(bool *flag)
Confirm whether play timer alarm is disabled. Only available with [4.0.0+].
Kernel-mode event structure.
Definition: event.h:13
Service object structure.
Definition: service.h:14
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21