mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 08:19:59 +00:00
UICommon: Move screensaver code to UICommon
This commit is contained in:
parent
26a9957285
commit
0dd52ca7ab
5 changed files with 87 additions and 67 deletions
|
@ -4,11 +4,21 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
#endif
|
||||
|
||||
namespace UICommon
|
||||
{
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
void EnableScreenSaver(Display* display, Window win, bool enable);
|
||||
#else
|
||||
void EnableScreenSaver(bool enable);
|
||||
#endif
|
||||
|
||||
void CreateDirectories();
|
||||
void SetUserDirectory(const std::string& custom_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue