summaryrefslogtreecommitdiffstats
path: root/xbmc/windowing/windows/Win32DPMSSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/windowing/windows/Win32DPMSSupport.h')
-rw-r--r--xbmc/windowing/windows/Win32DPMSSupport.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/xbmc/windowing/windows/Win32DPMSSupport.h b/xbmc/windowing/windows/Win32DPMSSupport.h
new file mode 100644
index 0000000..75c192f
--- /dev/null
+++ b/xbmc/windowing/windows/Win32DPMSSupport.h
@@ -0,0 +1,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 CWin32DPMSSupport : public CDPMSSupport
+{
+public:
+ CWin32DPMSSupport();
+ ~CWin32DPMSSupport() = default;
+
+protected:
+ bool EnablePowerSaving(PowerSavingMode mode) override;
+ bool DisablePowerSaving() override;
+};