libnx/nx/include/switch/services/pctl.h
2019-04-20 16:09:35 -04:00

21 lines
451 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);
/// Gets whether Parental Controls are enabled.
Result pctlIsRestrictionEnabled(bool *flag);
/// Gets whether VrMode is allowed. Only available with [5.0.0+].
Result pctlIsStereoVisionPermitted(bool *flag);