mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
27 lines
730 B
C
27 lines
730 B
C
/**
|
|
* @file pctl.h
|
|
* @brief Parental Controls service IPC wrapper.
|
|
* @author yellows8
|
|
* @copyright libnx Authors
|
|
*/
|
|
|
|
#pragma once
|
|
#include "../kernel/ipc.h"
|
|
#include "../services/sm.h"
|
|
|
|
Result pctlInitialize(void);
|
|
void pctlExit(void);
|
|
|
|
/// Confirm whether VrMode is allowed. Only available with [4.0.0+].
|
|
Result pctlConfirmStereoVisionPermission(void);
|
|
|
|
/// Gets whether Parental Controls are enabled.
|
|
Result pctlIsRestrictionEnabled(bool *flag);
|
|
|
|
/// Reset the confirmation done by \ref pctlConfirmStereoVisionPermission. Only available with [5.0.0+].
|
|
Result pctlResetConfirmedStereoVisionPermission(void);
|
|
|
|
/// Gets whether VrMode is allowed. Only available with [5.0.0+].
|
|
Result pctlIsStereoVisionPermitted(bool *flag);
|
|
|