summaryrefslogtreecommitdiffstats
path: root/xbmc/windowing/osx/CocoaDPMSSupport.h
blob: 6a54f4245536c363d9e10b42925069f5c87e3fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *  Copyright (C) 2009-2018 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.
 */

#include "xbmc/powermanagement/DPMSSupport.h"

class CCocoaDPMSSupport : public CDPMSSupport
{
public:
  CCocoaDPMSSupport();
  ~CCocoaDPMSSupport() override = default;

protected:
  bool EnablePowerSaving(PowerSavingMode mode) override;
  bool DisablePowerSaving() override;
};