mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
linux: Use D-Bus to inhibit screensaver
This commit is contained in:
parent
4bc1546596
commit
2748771cb3
9 changed files with 229 additions and 41 deletions
11
Source/Core/UICommon/DBusUtils.h
Normal file
11
Source/Core/UICommon/DBusUtils.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright 2024 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace DBusUtils
|
||||
{
|
||||
|
||||
void InhibitScreenSaver(bool inhibit);
|
||||
|
||||
} // namespace DBusUtils
|
Loading…
Add table
Add a link
Reference in a new issue