mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
29 lines
583 B
C++
29 lines
583 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#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);
|
|
|
|
bool TriggerSTMPowerEvent();
|
|
|
|
void SaveWiimoteSources();
|
|
} // namespace UICommon
|