SuperMarioOdysseyOnline/include/nn/oe.h

34 lines
984 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
/**
* @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();
};
};