dolphin/Source/Core/UICommon/UICommon.h

29 lines
583 B
C
Raw Normal View History

// Copyright 2014 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// 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();
2017-05-09 18:49:10 +02:00
void SaveWiimoteSources();
} // namespace UICommon