Debian Codegraph @

xbmc/windowing/tvos/OSScreenSaverTVOS.mm

raw
1 /*
2 * Copyright (C) 2017-2019 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9 #import "OSScreenSaverTVOS.h"
10
11 #import "platform/darwin/tvos/XBMCController.h"
12
13 void COSScreenSaverTVOS::Inhibit()
14 {
15 [g_xbmcController disableScreenSaver];
16 }
17
18 void COSScreenSaverTVOS::Uninhibit()
19 {
20 [g_xbmcController enableScreenSaver];
21 }