SuperMarioOdysseyOnline/include/nn/oe.h
2022-06-16 14:33:18 -07:00

34 lines
No EOL
984 B
C++

/**
* @file oe.h
* @brief Extenstions to OS functions.
*/
#pragma once
#include "settings.h"
#include "types.h"
namespace nn
{
namespace oe
{
typedef s32 FocusHandlingMode;
typedef s32 PerformanceMode;
void Initialize();
void SetPerformanceConfiguration(nn::oe::PerformanceMode, s32);
s32 GetOperationMode();
s32 GetPerformanceMode();
void SetResumeNotificationEnabled(bool);
void SetOperationModeChangedNotificationEnabled(bool);
void SetPerformanceModeChangedNotificationEnabled(bool);
void SetFocusHandlingMode(nn::oe::FocusHandlingMode);
bool TryPopNotificationMessage(u32 *);
s32 GetCurrentFocusState();
void EnableGamePlayRecording(void *, u64);
bool IsUserInactivityDetectionTimeExtended();
void SetUserInactivityDetectionTimeExtended(bool);
void FinishStartupLogo();
nn::settings::LanguageCode GetDesiredLanguage();
};
};