|
libnx v4.9.0
|
Wrapper for using the Parental Controls authentication LibraryApplet. More...
#include "../types.h"Go to the source code of this file.
Data Structures | |
| struct | PctlAuthArg |
| Input arg storage for the applet. More... | |
Enumerations | |
| enum | PctlAuthType { PctlAuthType_Show = 0 , PctlAuthType_RegisterPasscode = 1 , PctlAuthType_ChangePasscode = 2 } |
| Type values for PctlAuthArg::type. More... | |
Functions | |
| Result | pctlauthShow (bool flag) |
| Launches the applet. | |
| Result | pctlauthShowEx (u8 arg0, u8 arg1, u8 arg2) |
| Launches the applet. | |
| Result | pctlauthShowForConfiguration (void) |
| Just calls: pctlauthShowEx(1, 0, 1). | |
| Result | pctlauthRegisterPasscode (void) |
| Launches the applet for registering the Parental Controls PIN. | |
| Result | pctlauthChangePasscode (void) |
| Launches the applet for changing the Parental Controls PIN. | |
Wrapper for using the Parental Controls authentication LibraryApplet.
This applet is used by qlaunch.
| enum PctlAuthType |
Type values for PctlAuthArg::type.
| Enumerator | |
|---|---|
| PctlAuthType_Show | ShowParentalAuthentication. |
| PctlAuthType_RegisterPasscode | RegisterParentalPasscode. |
| PctlAuthType_ChangePasscode | ChangeParentalPasscode. |
| Result pctlauthChangePasscode | ( | void | ) |
Launches the applet for changing the Parental Controls PIN.
| Result pctlauthShow | ( | bool | flag | ) |
Launches the applet.
| flag | Input flag. false = temporarily disable Parental Controls. true = validate the input PIN. |
Launches the applet.
Only available with [4.0.0+].
| arg0 | Value for PctlAuthArg.arg0. |
| arg1 | Value for PctlAuthArg.arg1. |
| arg2 | Value for PctlAuthArg.arg2. |
| Result pctlauthShowForConfiguration | ( | void | ) |
Just calls: pctlauthShowEx(1, 0, 1).
Launches the applet for checking the PIN, used when changing system-settings.