mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
11 lines
384 B
C++
11 lines
384 B
C++
#include "common/window_info.h"
|
|
|
|
namespace FrontendCommon {
|
|
void SuspendScreensaver(const WindowInfo& wi);
|
|
void ResumeScreensaver();
|
|
|
|
/// Abstracts platform-specific code for asynchronously playing a sound.
|
|
/// On Windows, this will use PlaySound(). On Linux, it will shell out to aplay. On MacOS, it uses NSSound.
|
|
bool PlaySoundAsync(const char* path);
|
|
} // namespace FrontendCommon
|