summaryrefslogtreecommitdiffstats
path: root/xbmc/windowing/tvos/OSScreenSaverTVOS.mm
blob: 7af5580b30ad16adacbeed8e88a9d0f068134090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *  Copyright (C) 2017-2019 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#import "OSScreenSaverTVOS.h"

#import "platform/darwin/tvos/XBMCController.h"

void COSScreenSaverTVOS::Inhibit()
{
  [g_xbmcController disableScreenSaver];
}

void COSScreenSaverTVOS::Uninhibit()
{
  [g_xbmcController enableScreenSaver];
}