Split out controller initialization to UICommon

This commit is contained in:
JosJuice 2021-04-27 23:43:04 +02:00
commit 2f3c0cdbc5
4 changed files with 50 additions and 24 deletions

View file

@ -7,11 +7,16 @@
#include "Common/CommonTypes.h"
struct WindowSystemInfo;
namespace UICommon
{
void Init();
void Shutdown();
void InitControllers(const WindowSystemInfo& wsi);
void ShutdownControllers();
#ifdef HAVE_X11
void InhibitScreenSaver(unsigned long win, bool enable);
#else