Split out controller initialization to UICommon

This commit is contained in:
JosJuice
2022-07-17 14:02:03 +02:00
parent be551b1529
commit 2f3c0cdbc5
4 changed files with 50 additions and 24 deletions
+5
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