mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 03:05:16 +00:00
34 lines
No EOL
984 B
C++
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();
|
|
};
|
|
}; |