summaryrefslogtreecommitdiffstats
path: root/src/common/linux/gamemode.h
blob: b80646ae27afe81fa3cba6fcd61617846219cf5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

namespace Common::Linux {

/**
 * Start the (Feral Interactive) Linux gamemode if it is installed and it is activated
 */
void StartGamemode();

/**
 * Stop the (Feral Interactive) Linux gamemode if it is installed and it is activated
 */
void StopGamemode();

/**
 * Start or stop the (Feral Interactive) Linux gamemode if it is installed and it is activated
 * @param state The new state the gamemode should have
 */
void SetGamemodeState(bool state);

} // namespace Common::Linux